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

Command line flags don't correspond to shakeOptions #470

Closed
nkaretnikov opened this issue Jun 24, 2016 · 2 comments
Closed

Command line flags don't correspond to shakeOptions #470

nkaretnikov opened this issue Jun 24, 2016 · 2 comments

Comments

@nkaretnikov
Copy link

I'm using 0.15.10 and I don't see the analog of -w in shakeOptions. Similarly, --verbose doesn't accept an argument while shakeVerbosity does.
Also, see #49.

@ndmitchell
Copy link
Owner

Yes, it's not intended that all options are available in both ShakeOptions and on the command line - although it is the usual state of affairs, and #49 is an instance where it probably should be available in both.

You can get all the verbosity levels in shake using a combination of --verbose (which increases the verbosity) and --quiet (decrease verbosity). Use --verbosity --verbosity to increase by two levels.

Printing the directory (aka -w) is mostly there because of Make. I don't think it's a really useful feature, but if you want it, you can hardcode it in Shake yourself with putStrLn =<< getCurrentDirectory.

@ndmitchell
Copy link
Owner

I think --verbose and --quiet were the unclear ones (now help text is improved), while color is missing, but tracked at #49. If you see anything else you think would be useful to expose let me know.

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