summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-06-07 21:51:08 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-08 11:30:58 +0200
commita32fe8df331bf25f4705a0648e5b08a3f510fed0 (patch)
tree0242357745bd493699087c7c357699036b60d276 /Userland
parent001c81b1be3780c52910d72f84a3899b79f1598e (diff)
downloadserenity-a32fe8df331bf25f4705a0648e5b08a3f510fed0.zip
UserspaceEmulator: Stop parsing options on first non-option
Diffstat (limited to 'Userland')
-rw-r--r--Userland/DevTools/UserspaceEmulator/main.cpp1
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);