mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-27 16:22:18 -08:00
raddbg: never use a flag argument as the first command line target argument. never coherent
This commit is contained in:
1 parent
a244990b82
commit
d5cbced499
1 file changed
+1
-1
@@ -11500,7 +11500,7 @@ rd_init(CmdLine *cmdln)
|
|||||||
{
|
{
|
||||||
after_first_non_flag = 1;
|
after_first_non_flag = 1;
|
||||||
}
|
}
|
||||||
if(after_first_non_flag && !is_cfg && !is_dmp)
|
if(after_first_non_flag && !is_cfg && !is_dmp && (!is_flag || target_args.node_count != 0))
|
||||||
{
|
{
|
||||||
str8_list_push(scratch2.arena, &target_args, arg);
|
str8_list_push(scratch2.arena, &target_args, arg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user