Fix debug argument detection reading arguments after --command

This commit is contained in:
Campbell Barton
2024-03-19 13:49:25 +11:00
parent bb4271459f
commit 076b2ecf70

View File

@@ -342,7 +342,7 @@ int main(int argc,
MEM_use_guarded_allocator();
break;
}
if (STREQ(argv[i], "--")) {
if (STR_ELEM(argv[i], "--", "--command")) {
break;
}
}