diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-07 21:51:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-08 11:30:58 +0200 |
commit | a32fe8df331bf25f4705a0648e5b08a3f510fed0 (patch) | |
tree | 0242357745bd493699087c7c357699036b60d276 /Userland/DevTools/UserspaceEmulator | |
parent | 001c81b1be3780c52910d72f84a3899b79f1598e (diff) | |
download | serenity-a32fe8df331bf25f4705a0648e5b08a3f510fed0.zip |
UserspaceEmulator: Stop parsing options on first non-option
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/main.cpp b/Userland/DevTools/UserspaceEmulator/main.cpp index 5d341969d0..bf4faa3a30 100644 --- a/Userland/DevTools/UserspaceEmulator/main.cpp +++ b/Userland/DevTools/UserspaceEmulator/main.cpp @@ -22,6 +22,7 @@ int main(int argc, char** argv, char** env) Vector<String> arguments; Core::ArgsParser parser; + parser.set_stop_on_first_non_option(true); parser.add_option(g_report_to_debug, "Write reports to the debug log", "report-to-debug", 0); parser.add_positional_argument(arguments, "Command to emulate", "command"); parser.parse(argc, argv); |