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,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);
}
......
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