-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Adding --no-emit
option results in error
#1237
Comments
The problem is due to a clash of your option name with the properties of the Command object, in this case the To resolve the problem, you may opt-in to a new way of storing the option values using See https://github.com/tj/commander.js#avoiding-option-name-clashes |
Thanks, that makes sense! 🙂 |
Opened a PR to add a warning for option name clashes: #1275 |
Adding the option
.option('--no-emit', 'description')
to a command results in the following error when runningbin cmd -h
:Is this expected?
The text was updated successfully, but these errors were encountered: