Skip to content

Commit 66a2c1b

Browse files
author
David Hemphill
committed
Hide catchall command from help
1 parent 0b9594f commit 66a2c1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cli.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ program.command('build')
8181
})
8282
})
8383

84-
program.command('*')
84+
program.command('*', null, {
85+
noHelp: true
86+
})
8587
.action(function () {
8688
program.help()
8789
})

0 commit comments

Comments
 (0)