haskell / haskell/cabal

Option `--store-dir` not mentioned in help text of `build`

Open
#7,587 7 comments 3 reactions 1 assignee Claimed by @zlonast View on GitHub
documentation re: help-text re: store-dir re: user experience
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

E.g. `cabal build --help` mentions many options like `--builddir=DIR`, but not `--store-dir`.

Issue lifted from https://github.com/haskell/cabal/issues/6866#issuecomment-655537208.

Docs at: https://cabal.readthedocs.io/en/latest/cabal-project.html#cmdoption-store-dir

Btw, not sure this option actually exists:
```
$ cabal build --storedir=.
cabal: unrecognized 'build' option `--storedir=.'

$ cabal build --store-dir=.
cabal: unrecognized 'build' option `--store-dir=.'

$ cabal configure --store-dir=.
cabal: unrecognized 'configure' option `--store-dir=.'

$ cabal install --store-dir=.
cabal: unrecognized 'install' option `--store-dir=.'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.