make yargs strict for commands
This commit is contained in:
parent
385c09896a
commit
13f443b61c
@ -29,5 +29,6 @@ yargs(hideBin(process.argv))
|
|||||||
.command(cut)
|
.command(cut)
|
||||||
.command(print)
|
.command(print)
|
||||||
.command(upcoming)
|
.command(upcoming)
|
||||||
|
.strictCommands()
|
||||||
.help()
|
.help()
|
||||||
.parse();
|
.parse();
|
||||||
|
Loading…
Reference in New Issue
Block a user