diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-03-31 08:10:41 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-04-01 11:49:57 +0100 |
commit | 37bbd20cee51e38e3e81e72cc123d6afa762cb9f (patch) | |
tree | 08b01e6c2d519f212000f746b27bd4b574fc195c /Userland/Libraries/LibCore | |
parent | da6f32e5d8cd23badfcbff8d32361ce69321fd5a (diff) | |
download | serenity-37bbd20cee51e38e3e81e72cc123d6afa762cb9f.zip |
LibCore: Remove colons from markdown header names in ArgsParser
This makes formatting more consistent across man pages.
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r-- | Userland/Libraries/LibCore/ArgsParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCore/ArgsParser.cpp b/Userland/Libraries/LibCore/ArgsParser.cpp index 30eb89bccb..f1eed2dc85 100644 --- a/Userland/Libraries/LibCore/ArgsParser.cpp +++ b/Userland/Libraries/LibCore/ArgsParser.cpp @@ -326,7 +326,7 @@ void ArgsParser::print_usage_markdown(FILE* file, StringView argv0) } if (options_to_display > 0) - outln(file, "\n## Options:\n"); + outln(file, "\n## Options\n"); for (auto& opt : m_options) { if (!should_display_option(opt)) continue; @@ -359,7 +359,7 @@ void ArgsParser::print_usage_markdown(FILE* file, StringView argv0) } if (!m_positional_args.is_empty()) - outln(file, "\n## Arguments:\n"); + outln(file, "\n## Arguments\n"); for (auto& arg : m_positional_args) { out(file, "* `{}`", arg.name); |