You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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];
$ cabal build --help
Compile targets within the project.
Usage: cabal build [TARGETS] [FLAGS]
Description ...
Flags for build (includes global flags):
...
1st page of flags
2nd " " "
3rd " " "
4th " " "
5th " " "
6th " " "
Examples ...
Can we not show the global flags by default?
The text was updated successfully, but these errors were encountered:
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.
Lots of commands take targets.
Originally posted by @philderbeast in #9744 (comment)
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?
The text was updated successfully, but these errors were encountered: