diff --git a/impl/command_line/options.cxx b/impl/command_line/options.cxx index 6b92cf6e..ac7b5c04 100644 --- a/impl/command_line/options.cxx +++ b/impl/command_line/options.cxx @@ -142,8 +142,8 @@ namespace substrate::commandLine void optionSet_t::displayHelp(const size_t padding) const noexcept { console.writeln(); - // XXX: Need to capitalise the first letter. - console.writeln(metaName(), "s:"sv); + const auto &metaName{_metaName.substr(1)}; + console.writeln(std::toupper(_metaName[0], std::locale::classic()), metaName, "s:"sv); for (const auto &alternation : _alternations) { console.writeln('\t', alternation.displayName(), nullptr);