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

Fix unexpected string parsing with empty arguments #32

Closed
wants to merge 1 commit into from

Conversation

robertkowalski
Copy link
Contributor

Fix for an option with type String (e.g. {foo: String} that
does not get an argument passed e.g. ./myprogram --foo.
The value for foo should be "" (empty String) and not
true (Boolean)

Fixes #38

Fix for an option with type String (e.g. `{foo: String}` that
does not get an argument passed e.g. `./myprogram --foo`.
The value for foo should be "" (empty String) and not
`true` (Boolean)

Fixes npm#31
@isaacs
Copy link
Contributor

isaacs commented Feb 16, 2014

Landed on master. Thanks!

@isaacs isaacs closed this Feb 16, 2014
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

Successfully merging this pull request may close these issues.

[BUG] Special characters (such as tab and space) do not correctly clean
2 participants