Update yargs

This commit is contained in:
lanxi
2017-05-04 17:01:44 +08:00
parent 1ca61935a1
commit c14ee446dc
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ var _argv = yargs.usage('Usage: $0 <command> [options]')
.command(require('./storage-temp'))
.command(require('./triproxy'))
.command(require('./websocket'))
.demand(1, 'Must provide a valid command.')
.demandCommand(1, 'Must provide a valid command.')
.help('h', 'Show help.')
.alias('h', 'help')
.version('V', 'Show version.', function() {