Browse Source

UserspaceEmulator: Stop parsing options on first non-option

Jelle Raaijmakers 4 years ago
parent
commit
a32fe8df33
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Userland/DevTools/UserspaceEmulator/main.cpp

+ 1 - 0
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);