diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-06-04 08:37:51 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-06-04 08:37:51 +0100 |
| commit | 261e0fabccad0e147592d41b38390bdef24dd69d (patch) | |
| tree | fe5b548b044b20714934d4cff9434cfe2aa13b0f /src/parameters_parser.cc | |
| parent | 610113860629f2297c1a09f2038fe47ce6a18b3a (diff) | |
Improve readability of command docstrings by changing formatting
Fixes #1378
Diffstat (limited to 'src/parameters_parser.cc')
| -rw-r--r-- | src/parameters_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parameters_parser.cc b/src/parameters_parser.cc index 9ca475f7..b37e13d3 100644 --- a/src/parameters_parser.cc +++ b/src/parameters_parser.cc @@ -9,7 +9,7 @@ String generate_switches_doc(const SwitchMap& switches) { String res; for (auto& sw : switches) - res += format(" -{} {}: {}\n", sw.key, + res += format("-{} {}: {}\n", sw.key, sw.value.takes_arg ? "<arg>" : "", sw.value.description); return res; |
