Skip to content

Commit

Permalink
Merge pull request #5125 from yandavid/master
Browse files Browse the repository at this point in the history
Bump yargs version to get help and version for free by default
  • Loading branch information
m-allanson committed Apr 25, 2018
2 parents 6d5dac9 + ab8fb12 commit f539014
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 f539014

Please sign in to comment.