raddbg: never use a flag argument as the first command line target argument. never coherent

This commit is contained in:
Ryan Fleury committed 2026-10-12 09:58:27 -07:00
1 parent a244990b82
commit d5cbced499
1 file changed
+1 -1
+1 -1
View File
@@ -11500,7 +11500,7 @@ rd_init(CmdLine *cmdln)
{
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);
}