Skip to content

Commit 1c3ef8d

Browse files
committed
fix: Fixed error on unknown commands
1 parent 47fb0ac commit 1c3ef8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/program.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class Program {
2424
yargsInstance = yargs(argv);
2525
}
2626
this.yargs = yargsInstance;
27+
this.yargs.strict();
2728
this.commands = {};
2829
}
2930

0 commit comments

Comments
 (0)