mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibCore: Remove colons from markdown header names in ArgsParser
This makes formatting more consistent across man pages.
This commit is contained in:
parent
da6f32e5d8
commit
37bbd20cee
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue