mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +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
|
@ -61,6 +61,7 @@ int main(int argc, char* argv[])
|
|||
const char* name = nullptr;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Read manual pages. Try 'man man' to get started.");
|
||||
args_parser.add_positional_argument(section, "Section of the man page", "section", Core::ArgsParser::Required::No);
|
||||
args_parser.add_positional_argument(name, "Name of the man page", "name");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue