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

stack's command-line argument parser is too picky #718

Closed
pharpend opened this issue Aug 5, 2015 · 1 comment
Closed

stack's command-line argument parser is too picky #718

pharpend opened this issue Aug 5, 2015 · 1 comment

Comments

@pharpend
Copy link
Contributor

pharpend commented Aug 5, 2015

$ stack --version
Version 0.1.2.7, Git revision 7befa5caad720cb8859a04efda3b304e13cbf8c9

Ideally, all of the following would produce the same result:

  • stack build -j 5 -fdev
  • stack -j 5 build -fdev
  • stack -fdev build -j 5
  • stack build -j 5 --flag learnyou:dev
  • stack build --flag learnyou:dev -j 5

Stack's argument parser only accepts the last one. The order really shouldn't matter.

@snoyberg
Copy link
Contributor

snoyberg commented Aug 5, 2015

I believe this is a dupe of #519.

@snoyberg snoyberg added this to the Options parsing milestone Aug 5, 2015
@borsboom borsboom closed this as completed Aug 8, 2015
@borsboom borsboom reopened this Aug 8, 2015
@borsboom borsboom closed this as completed Aug 8, 2015
@borsboom borsboom modified the milestone: Options parsing Sep 12, 2015
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

3 participants