summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support/command-line.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/support/command-line.cpp b/src/support/command-line.cpp
index 1b9f64295..355d704bb 100644
--- a/src/support/command-line.cpp
+++ b/src/support/command-line.cpp
@@ -79,6 +79,7 @@ Options::Options(const std::string& command, const std::string& description)
std::max(optionWidth, o.longName.size() + o.shortName.size());
}
for (const auto& o : options) {
+ std::cout << '\n';
bool long_n_short = o.longName.size() != 0 && o.shortName.size() != 0;
size_t pad = 1 + optionWidth - o.longName.size() - o.shortName.size();
std::cout << " " << o.longName << (long_n_short ? ',' : ' ')