Skip to content

Commit

Permalink
Fix documentation of stack ghci --[no-]package-hiding default
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Apr 14, 2024
1 parent 222d373 commit 2261f68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/ghci.md
Expand Up @@ -75,9 +75,10 @@ By default:
GHCi (only). Pass the `--ghci-options` option to pass flags or options to
GHCi (only).

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

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

0 comments on commit 2261f68

Please sign in to comment.