From 44ce4bc0691d48b3970242f29bed81ab5a5980a6 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Sun, 28 Oct 2018 13:34:19 +0100 Subject: [PATCH] Remove extra spaces for switches list in info --- src/parameters_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? "" : "", String{' ', maxlen - switch_len(sw) + 1},