diff options
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/pls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Utilities/pls.cpp b/Userland/Utilities/pls.cpp index e66758e072..0b6c231b14 100644 --- a/Userland/Utilities/pls.cpp +++ b/Userland/Utilities/pls.cpp @@ -18,6 +18,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) Vector<char const*> command; Core::ArgsParser args_parser; uid_t as_user_uid = 0; + args_parser.set_stop_on_first_non_option(true); args_parser.add_option(as_user_uid, "User to execute as", nullptr, 'u', "UID"); args_parser.add_positional_argument(command, "Command to run at elevated privilege level", "command"); args_parser.parse(arguments); |