-
-
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
Breaks when using "domain" as an option #370
Comments
Can you provide the full example? |
// test.js
'use strict';
var program = require('commander');
program
.option('-d, --domain <domain>', 'domain name', 'example.com')
.parse(process.argv);
console.log(program.domain);
|
I just ran into this too. Version 2.8.1. |
yep. That's a problem, hope can fix it in v3.0, cause it will be a break change. thanks @tonylukasavage for providing the list |
+1 |
+1 (still an issue in 2.11.0) |
+1, duplicate of #105. Barring a 3.0 release, maybe trying to use |
The |
I have opened a Pull Request which allows storing option values separately rather than as command properties (access using See #1102 |
The text was updated successfully, but these errors were encountered: