Commit 67274c01 authored by Christian Kröner's avatar Christian Kröner Committed by Max Kellermann

Really hide hidden cmd opts from help printout.

parent e89c4213
...@@ -276,6 +276,7 @@ static void help(void) ...@@ -276,6 +276,7 @@ static void help(void)
"Options:\n"); "Options:\n");
for (const auto &i : option_defs) for (const auto &i : option_defs)
if(i.HasDescription() == true) // hide hidden options from help print
PrintOption(i); PrintOption(i);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment