Skip to content

Commit 7ec2967

Browse files
committed
code: hide script name
1 parent 4e9d9df commit 7ec2967

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

eask

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
const yargs = require("yargs");
44

55
yargs
6-
.usage("Usage: $0 <command> [options..]")
7-
.commandDir("cmds")
6+
.usage('Usage: eask <command> [options..]')
7+
.scriptName('')
8+
.commandDir('cmds')
89
.showHelpOnFail(true)
910
.help(
1011
'help',

0 commit comments

Comments
 (0)