Skip to content

Commit 5f50872

Browse files
authored
Merge pull request #14 from rkostrzewski/fix/unknown-cli-options
fix: Throw error for unknown command
2 parents ceacb4e + b363c8c commit 5f50872

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ yargs
2222
.help()
2323
.alias('h', 'help')
2424
.demandCommand()
25+
.strict()
2526
.argv;

0 commit comments

Comments
 (0)