go-flags
go-flags copied to clipboard
Feature request: Make the "hidden" flag more granular
I would like to be able to hide a command from the generated manpage only, but still display it in the help.
How about something like:
-
hidden:"man"orhidden:"manpage"hides the command from the manpage. -
hidden:"help"hides the command from the help. -
hidden:"all"hides the command from both. - Any other value for the flag defaults to "all"
Sounds good. PR welcome.