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

Show meanings of flags on -h #119

Open
mcandre opened this issue Feb 24, 2015 · 2 comments
Open

Show meanings of flags on -h #119

mcandre opened this issue Feb 24, 2015 · 2 comments

Comments

@mcandre
Copy link
Contributor

mcandre commented Feb 24, 2015

As a command line user, I want to see a brief description of every flag, so that I can understand the flags better.

Just spit out the contents of https://github.com/reid/node-jslint/blob/master/doc/jslint.md on jslint -h.

@smikes
Copy link
Collaborator

smikes commented Feb 24, 2015

This is a good feature request. The chief difficulty is that the actual options accepted by node-jslint are a function of the --edition setting, and jslint as published doesn't offer a good way to programmatically extract its options.

There is a related PR around support for multiple jslint editions and extracting their valid options, which I can't look up right now.

For your purposes, would it be adequate to report the options supported by --edition latest, with a caveat re: different editions?

@mcandre
Copy link
Contributor Author

mcandre commented Feb 24, 2015

Yes.

Honestly, even a link to the flag descriptions would be better than how it works now.

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