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

Slightly weird argument handling with --no-terminal #706

Closed
rrnewton opened this issue Aug 2, 2015 · 2 comments
Closed

Slightly weird argument handling with --no-terminal #706

rrnewton opened this issue Aug 2, 2015 · 2 comments

Comments

@rrnewton
Copy link
Contributor

rrnewton commented Aug 2, 2015

I normally am careful to pass stack general options before the command, but I copied a travis.yml file linked from the wiki which had this line:

stack test --only-snapshot --no-terminal

But, then when I tried to add an extra option to the end, it failed:

stack test --only-snapshot --no-terminal --ghc-options="-j3"

Yet moving the --no-terminal to where it should be (before test) fixes the problem:

stack --no-terminal test --only-snapshot --ghc-options="-j3"

This behavior holds on the 0.1.2.0 release, and a recent dev version, 3135624fc43585329bc4ceed2a9c11b158f4099f.

Expected behavior:

That the first two commands above would both fail or succeed (preferably fail).

Actual behavior:

First command succeeds and second fails.

@borsboom
Copy link
Contributor

borsboom commented Aug 2, 2015

Looks like #519.

@borsboom borsboom closed this as completed Aug 2, 2015
@rrnewton
Copy link
Contributor Author

rrnewton commented Aug 2, 2015

Wow, and 679 too! Sorry for the dup.

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

No branches or pull requests

2 participants