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

needs message for "expected argument to --foo" #15

Closed
coolaj86 opened this issue Sep 10, 2012 · 0 comments
Closed

needs message for "expected argument to --foo" #15

coolaj86 opened this issue Sep 10, 2012 · 0 comments

Comments

@coolaj86
Copy link

Say that an option foo expects an argument of type string but doesn't get one.

./my-parser.js --foo

The error is

my-parser.js build: error: undefined

I would expect instead

my-parser.js build: error: "option --foo requires an argument"
shkuropat added a commit that referenced this issue Oct 14, 2012
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