mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:27:34 +00:00
Userland: Write some '--help' descriptions where appropriate
This commit is contained in:
parent
52a8062084
commit
4ec77ba929
32 changed files with 47 additions and 4 deletions
|
@ -45,6 +45,7 @@ static Options parse_options(int argc, char* argv[])
|
|||
Vector<const char*> text;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Copy text from stdin or the command-line to the clipboard.");
|
||||
args_parser.add_option(type, "Pick a type", "type", 't', "type");
|
||||
args_parser.add_positional_argument(text, "Text to copy", "text", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue