fix(localize): show helpful error when providing an invalid cli option (#36010)
PR Close #36010
This commit is contained in:
parent
4fba8a6aea
commit
aad02e8337
|
@ -74,7 +74,7 @@ if (require.main === module) {
|
||||||
choices: ['error', 'warning', 'ignore'],
|
choices: ['error', 'warning', 'ignore'],
|
||||||
default: 'warning',
|
default: 'warning',
|
||||||
})
|
})
|
||||||
|
.strict()
|
||||||
.help()
|
.help()
|
||||||
.parse(args);
|
.parse(args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue