diff options
| author | Delapouite <delapouite@gmail.com> | 2018-10-28 13:34:19 +0100 |
|---|---|---|
| committer | Delapouite <delapouite@gmail.com> | 2018-10-28 13:34:19 +0100 |
| commit | 44ce4bc0691d48b3970242f29bed81ab5a5980a6 (patch) | |
| tree | d127b78efc4a8b2b48533caf38a34c49b0a0a4ac /src/parameters_parser.cc | |
| parent | 3b40ab82f44afcdcda70b1162b5b130fadb22bdc (diff) | |
Remove extra spaces for switches list in info
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 a14b0435..3aa1a076 100644 --- a/src/parameters_parser.cc +++ b/src/parameters_parser.cc @@ -16,7 +16,7 @@ String generate_switches_doc(const SwitchMap& switches) const ColumnCount maxlen = *std::max_element(switches_len.begin(), switches_len.end()); for (auto& sw : switches) { - res += format(" -{} {}{}{}\n", + res += format("-{} {}{}{}\n", sw.key, sw.value.takes_arg ? "<arg>" : "", String{' ', maxlen - switch_len(sw) + 1}, |
