Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mention --profile/--library-profiling/--executable-profiling in stack --help ? #4983

Closed
simonmichael opened this issue Jul 25, 2019 · 0 comments

Comments

@simonmichael
Copy link
Contributor

simonmichael commented Jul 25, 2019

Steps to reproduce

With stack 2.1.3, multiple commands seem to accept these flags, eg:

  • stack build --profile ...
  • stack exec --profile ...
  • stack --profile hoogle ...

and indeed they do affect the exec command as well as the build command. I assume they are accepted by all commands though ignored by most (eg hoogle).

Expected

Expected to see these flags mentioned in stack --help. Or at least stack exec --help.

Actual

They are mentioned only in stack build --help.

Related

This would help users know that they also need to use --profile with stack exec (#4863). Mentioning them in stack exec --help would be more effective for this.

See also: #2285.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants