summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorTim Ledbetter <timledbetter@gmail.com>2023-03-31 08:10:41 +0100
committerSam Atkins <atkinssj@gmail.com>2023-04-01 11:49:57 +0100
commit37bbd20cee51e38e3e81e72cc123d6afa762cb9f (patch)
tree08b01e6c2d519f212000f746b27bd4b574fc195c /Userland/Libraries/LibCore
parentda6f32e5d8cd23badfcbff8d32361ce69321fd5a (diff)
downloadserenity-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.cpp4
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);