minor style tweak

This commit is contained in:
Maxime Coste 2017-06-12 06:12:10 +01:00
parent 208b28cbe7
commit ab56be090a

View File

@ -842,7 +842,7 @@ int main(int argc, char* argv[])
if (contains(ConstArrayView<char*>{argv+1, (size_t)argc-1}, StringView{"--help"})) if (contains(ConstArrayView<char*>{argv+1, (size_t)argc-1}, StringView{"--help"}))
return show_usage(); return show_usage();
ParametersParser parser(params, param_desc); ParametersParser parser{params, param_desc};
const bool show_help_message = (bool)parser.get_switch("help"); const bool show_help_message = (bool)parser.get_switch("help");
if (show_help_message) if (show_help_message)