We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f2b662 commit 3087e1dCopy full SHA for 3087e1d
1 file changed
index.js
@@ -635,10 +635,10 @@ function parse (args, opts) {
635
flags.aliases[key].concat(key).forEach(function (x) {
636
if (/-/.test(x) && configuration['camel-case-expansion']) {
637
var c = camelCase(x)
638
- if (flags.aliases[key].indexOf(c) === -1) {
+ if (c !== key && flags.aliases[key].indexOf(c) === -1) {
639
flags.aliases[key].push(c)
640
+ newAliases[c] = true
641
}
- newAliases[c] = true
642
643
})
644
flags.aliases[key].forEach(function (x) {
0 commit comments