diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx index 27f30f3a1..6d74443f3 100644 --- a/src/CommandLine.cxx +++ b/src/CommandLine.cxx @@ -276,7 +276,8 @@ static void help(void) "Options:\n"); for (const auto &i : option_defs) - PrintOption(i); + if(i.HasDescription() == true) // hide hidden options from help print + PrintOption(i); exit(EXIT_SUCCESS); }