mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:47:44 +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
|
@ -47,6 +47,7 @@ int main(int argc, char* argv[])
|
|||
int view_width = 0;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Render Markdown to some other format.");
|
||||
args_parser.add_option(html, "Render to HTML rather than for the terminal", "html", 'H');
|
||||
args_parser.add_option(view_width, "Viewport width for the terminal (defaults to current terminal width)", "view-width", 0, "width");
|
||||
args_parser.add_positional_argument(file_name, "Path to Markdown file", "path", Core::ArgsParser::Required::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue