diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js index 4b9f8a8499b83..d56ae43cc96b7 100644 --- a/packages/gatsby-cli/src/create-cli.js +++ b/packages/gatsby-cli/src/create-cli.js @@ -191,6 +191,8 @@ module.exports = (argv, handlers) => { }) .wrap(cli.terminalWidth()) .demandCommand(1, `Pass --help to see all available commands and options.`) - .showHelpOnFail(true, `A command is required.`) + .strict() + .showHelpOnFail(true) + .recommendCommands() .parse(argv.slice(2)) }