From ab8fb12ca7ec72e26d1bee8f0866e4b3e5d933df Mon Sep 17 00:00:00 2001 From: David Yan Date: Tue, 24 Apr 2018 23:43:31 -0700 Subject: [PATCH] Bump yargs version to get help and version for free by default --- packages/gatsby-cli/package.json | 2 +- packages/gatsby-cli/src/create-cli.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 3f5b9bcd6bc83..8270ac19e3b57 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -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": { diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js index 0cdf6c0626b6c..086b475495a9c 100644 --- a/packages/gatsby-cli/src/create-cli.js +++ b/packages/gatsby-cli/src/create-cli.js @@ -184,9 +184,7 @@ module.exports = (argv, handlers) => { cli .usage(`Usage: $0 [options]`) - .help(`h`) .alias(`h`, `help`) - .version() .alias(`v`, `version`) .option(`verbose`, { default: false,