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

add support for option terminator -- #213

Closed
abbr opened this issue Apr 15, 2014 · 2 comments
Closed

add support for option terminator -- #213

abbr opened this issue Apr 15, 2014 · 2 comments

Comments

@abbr
Copy link
Contributor

abbr commented Apr 15, 2014

Hi,
Could this feature be added? Apparently it doesn't work in latest npm version.
Thanks.

@abbr
Copy link
Contributor Author

abbr commented Apr 15, 2014

Actually this is a bug rather than new feature. The problem is that normalize, which runs before parseOptions, doesn't honor --. Therefore an input such as test -- -t10 is parsed incorrectly into test -- -t -1 -0 by normalize.

@tj
Copy link
Owner

tj commented Apr 25, 2014

hmm yeah I thought we had this already, if it's busted I'll definitely accept a patch

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

3 participants