mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +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
|
@ -37,6 +37,7 @@ int main(int argc, char* argv[])
|
|||
Core::EventLoop loop;
|
||||
Vector<const char*> urls_or_paths;
|
||||
Core::ArgsParser parser;
|
||||
parser.set_general_help("Open a file or URL by executing the appropriate program.");
|
||||
parser.add_positional_argument(urls_or_paths, "URL or file path to open", "url-or-path");
|
||||
parser.parse(argc, argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue