Skip to content

Commit 4ff814d

Browse files
committed
Re commercialhaskell#3644 Improve online documentation for stack new
1 parent c8d76e0 commit 4ff814d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/new_command.md

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ The arguments specifying directories and the `--ignore-subdirs`, `--force` and
4747
`--omit-packages` flags are as for the [`stack init` command](init_command.md).
4848
These arguments are ignored if the `--no-init` flag is passed.
4949

50+
If a snapshot is specified at the command line and the project is initialised
51+
for use with Stack, `stack new` will try to use it. For further information, see
52+
the documentation for the [`--snapshot`](global_flags.md#-snapshot-option) and
53+
[`--resolver`](global_flags.md#-resolver-option) options.
54+
5055
## Project templates
5156

5257
A project template file can be located in a repository named `stack-templates`

0 commit comments

Comments
 (0)