Skip to content

Commit

Permalink
Re #6581 Backport documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed May 18, 2024
1 parent 8022922 commit 057bb34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions doc/global_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ Default: `https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots
The `--snapshot-location-base <url>` command option specifies the base location
of snapshots.

## `--help` command flag
## `--help` or `-h` command flags

If Stack is passed the `--help` command flag, it will output help for the
command.
If Stack is passed the `--help` (or `-h`) command flag, it will output help for
the command.
4 changes: 2 additions & 2 deletions doc/other_resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ There are lots of resources available for learning more about Stack:

* `stack` or `stack --help` — lists Stack's commands, and flags and options
common to those commands
* `stack <command> --help` — provides help on the particular Stack command,
including flags and options specific to the command
* `stack <command> --help` (or `-h`) — provides help on the particular Stack
command, including flags and options specific to the command
* `stack --version` — identify the version and Git hash of the Stack executable
* `--verbose` (or `-v`) — much more info about internal operations (useful for
bug reports)
Expand Down

0 comments on commit 057bb34

Please sign in to comment.