Skip to content

Commit

Permalink
Bump yargs version to get help and version for free by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yandavid committed Apr 25, 2018
1 parent ba39f94 commit ab8fb12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"source-map": "^0.5.7",
"stack-trace": "^0.0.10",
"update-notifier": "^2.3.0",
"yargs": "^8.0.2",
"yargs": "^11.1.0",
"yurnalist": "^0.2.1"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/gatsby-cli/src/create-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ module.exports = (argv, handlers) => {

cli
.usage(`Usage: $0 <command> [options]`)
.help(`h`)
.alias(`h`, `help`)
.version()
.alias(`v`, `version`)
.option(`verbose`, {
default: false,
Expand Down

0 comments on commit ab8fb12

Please sign in to comment.