summaryrefslogtreecommitdiff
path: root/Userland/md.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-12-05 16:22:58 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-06 00:06:53 +0100
commit4ec77ba929ed13ed639b803aebb9aa61b1353443 (patch)
treee6dfa2cec39af9e9d04c69fed87d4ed91de2e750 /Userland/md.cpp
parent52a80620847e5ff934c7a385c106d098d60a8a6c (diff)
downloadserenity-4ec77ba929ed13ed639b803aebb9aa61b1353443.zip
Userland: Write some '--help' descriptions where appropriate
Diffstat (limited to 'Userland/md.cpp')
-rw-r--r--Userland/md.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/md.cpp b/Userland/md.cpp
index 5111e12025..b23c98c206 100644
--- a/Userland/md.cpp
+++ b/Userland/md.cpp
@@ -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);