Skip to content

Commit 2261f68

Browse files
committed
Fix documentation of stack ghci --[no-]package-hiding default
1 parent 222d373 commit 2261f68

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/ghci.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ By default:
7575
GHCi (only). Pass the `--ghci-options` option to pass flags or options to
7676
GHCi (only).
7777

78-
* Stack does not configure GHCi to hide unnecessary packages, unless there are
79-
no packages to expose. Pass the `--package-hiding` flag to hide unnecessary
80-
packages or `--no-package-hiding` flag not to hide unnecessary packages.
78+
* Stack configures GHCi to hide unnecessary packages, unless no packages are
79+
targetted and no additional packages are specified. Pass the
80+
`--package-hiding` flag to hide unnecessary packages or
81+
`--no-package-hiding` flag not to hide unnecessary packages.
8182

8283
* Stack loads and imports all of the modules for each target. Pass the
8384
`--no-load` flag to skip the loading of modules. Pass the `--only-main` flag

0 commit comments

Comments
 (0)