Skip to content

Commit

Permalink
feat(eask): Use strict option
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 13, 2024
1 parent 0517eef commit e7c72a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eask
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ yargs
command: '*',
handler() { yargs.showHelp(); }
})
.showHelpOnFail(true)
.version('version', 'output version information and exit', version)
.help('help', 'show usage instructions')
.showHidden('show-hidden', 'Show hidden commands and options')
Expand Down Expand Up @@ -125,6 +124,8 @@ yargs
group: TITLE_PROXY_OPTION,
},
})
.strict()
.demandCommand()
.showHelpOnFail(true)
.wrap(yargs.terminalWidth())
.argv;

0 comments on commit e7c72a7

Please sign in to comment.