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

allow "-" hyphen as an option argument #139

Merged
merged 1 commit into from
Jun 13, 2013
Merged

allow "-" hyphen as an option argument #139

merged 1 commit into from
Jun 13, 2013

Conversation

kawanet
Copy link
Contributor

@kawanet kawanet commented Mar 22, 2013

An argument which has only one character of "-" hyphen have been not accepted.

ex. node test -a - --bravo - --charlie=- - -- -

STDIN and STDOUT are often named as "-" in most UNIX commands.
This patch will allow to use "-" hyphen arguments.
Test script is included as well.

@kawanet

tj added a commit that referenced this pull request Jun 13, 2013
allow "-" hyphen as an option argument
@tj tj merged commit fff7cac into tj:master Jun 13, 2013
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.

2 participants