Open philderbeast opened 5 months ago
A common pattern is to list the global flags in their own section. For individual commands this might be output after the command-specific flags, or might point the user to a --help-globals
option.
Yes stack has a separate command for raising the living dead of global flags;
Command 'stack --help' for global options that apply to all subcommands.
Lots of commands take targets.
Originally posted by @philderbeast in https://github.com/haskell/cabal/issues/9744#issuecomment-1980928890
I thought of maybe listing the commands that take targets but quickly gave up, not wanting to scroll up past 6 pages of global flags to see whether the command takes
[TARGETS]
;Can we not show the global flags by default?