MXS-1300: Add usage to all commands

Added usage instructions for all commands. If the generated usage is used
with the `pkg` packager, it will contain generated script names which are
confusing.
This commit is contained in:
Markus Mäkelä
2017-06-30 13:31:15 +03:00
parent 4cf17bc450
commit 8fb1137ef0
5 changed files with 8 additions and 5 deletions

View File

@ -54,7 +54,6 @@ program
.command(require('./lib/show.js'))
.command(require('./lib/set.js'))
.command(require('./lib/clear.js'))
.recommendCommands()
.help()
.demandCommand(1, 'At least one command is required')
.command('*', 'the default command', {}, () => {