jessevdk/go-flags

Feature request: Make the "hidden" flag more granular

kjacque opened this issue · 1 comments

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" or hidden:"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.