Skip to content

Commit

Permalink
fix: improve root cmd option config
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Jul 8, 2016
1 parent 5be83e1 commit 92ac481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Expand Up @@ -32,9 +32,9 @@ cli.load = function (rootcmd, packageInfo, commandRunner) {
.description(packageInfo.description)
.usage('[cmd] [options]')
// .option('--root', 'project dir')
.option('--config', 'config path')
.option('--config <path>', 'config path')
.option('--no-color', 'output without color')
.option('--loglevel', 'output log verbosity')
.option('--loglevel <level>', 'output log verbosity')
.option('--verbose', 'output log verbosity', Boolean, false)

loadCommands(rootcmd, commandRunner)
Expand Down

0 comments on commit 92ac481

Please sign in to comment.