From 15b3b0e9f8823752f80c7e597a70749813e61c79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 15:26:48 -0500 Subject: Always use braces --- src/Configuration.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Configuration.cpp') diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 30b536bf..3e7b13ba 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -120,10 +120,11 @@ Configuration::print_usage(const std::string& program, std::ostream& os) for (const auto& o : _options) { const Option& option = o.second; os << " "; - if (option.letter != '\0') + if (option.letter != '\0') { os << "-" << option.letter << ", "; - else + } else { os << " "; + } os.width(_max_name_length + 11); os << std::left; os << (std::string("--") + o.first + variable_string(option.type)); -- cgit v1.2.1