style(CLI): add [options] to usage string

This commit is contained in:
Andrew Scheller 2016-11-01 03:49:59 +00:00 committed by Juan Cruz Viotti
parent 532e732b46
commit eabc9991e9

View File

@ -37,7 +37,7 @@ module.exports = yargs
.demand(1, 'Missing image') .demand(1, 'Missing image')
// Usage help // Usage help
.usage('Usage: $0 <image>') .usage('Usage: $0 [options] <image>')
.epilogue([ .epilogue([
'Exit codes:', 'Exit codes:',
_.map(EXIT_CODES, (value, key) => { _.map(EXIT_CODES, (value, key) => {