Skip to content

Commit 38d25c3

Browse files
committed
Improve --resolver documentation
1 parent f2aaa30 commit 38d25c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/global_flags.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ Pass the option `--resolver <snapshot>` to specify the snapshot. For further
151151
information, see the
152152
[YAML configuration](yaml_configuration.md#resolver-or-snapshot) documentation.
153153

154+
At the command line (only):
155+
* `--resolver lts-<major_version>` specifies the latest Stackage LTS Haskell
156+
snapshot with the specified major version;
157+
* `--resolver lts` specifies, from those with the greatest major version, the
158+
latest Stackage LTS Haskell snapshot; and
159+
* `--resolver nightly` specifies the most recent Stackage Nightly snapshot.
160+
154161
## `--[no-]rsl-in-log` flag
155162

156163
[:octicons-tag-24: 2.9.1](https://github.com/commercialhaskell/stack/releases/tag/v2.9.1)

0 commit comments

Comments
 (0)