Really hide hidden cmd opts from help printout.
This commit is contained in:
parent
e89c421313
commit
67274c018d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue