fix(localize): show helpful error when providing an invalid cli option (#36010)

PR Close #36010
This commit is contained in:
Alan Agius 2020-03-11 11:18:28 +01:00 committed by Matias Niemelä
parent 4fba8a6aea
commit aad02e8337
1 changed files with 1 additions and 1 deletions

View File

@ -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);