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,