1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

Utilities: Make strace stop parsing options on first non-option

This commit is contained in:
Jelle Raaijmakers 2021-06-07 21:56:24 +02:00 committed by Andreas Kling
parent 00fc0a6cf0
commit fb6d141601

View file

@ -43,6 +43,7 @@ int main(int argc, char** argv)
auto trace_file = Core::File::standard_error();
Core::ArgsParser parser;
parser.set_stop_on_first_non_option(true);
parser.set_general_help(
"Trace all syscalls and their result.");
parser.add_option(g_pid, "Trace the given PID", "pid", 'p', "pid");