diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-05-17 15:17:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-17 15:49:37 +0200 |
commit | bffed9e3cba28f53c88801e4857a20abbfd20b48 (patch) | |
tree | a53c0de0b3aae0296e5cd1dd33d5edeaf77c6183 /Userland/pape.cpp | |
parent | b92fa59832bd69d52ccef045031b66521ab7a5ed (diff) | |
download | serenity-bffed9e3cba28f53c88801e4857a20abbfd20b48.zip |
ArgsParser: Expand to be able to handle multiple single arguments
This is needed for e.g. ln
Diffstat (limited to 'Userland/pape.cpp')
-rw-r--r-- | Userland/pape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/pape.cpp b/Userland/pape.cpp index 0458d84c07..395007d6f5 100644 --- a/Userland/pape.cpp +++ b/Userland/pape.cpp @@ -56,7 +56,7 @@ int main(int argc, char** argv) args_parser.add_arg("a", "show all wallpapers"); args_parser.add_arg("c", "show current wallpaper"); - args_parser.set_single_value("name"); + args_parser.add_single_value("name"); AK::ArgsParserResult args = args_parser.parse(argc, (const char**)argv); |