Skip to content

Commit

Permalink
Merge pull request #7627 from jamesgeorge007/hotfix/fixup-usage-info
Browse files Browse the repository at this point in the history
fix(cli): Fixup usage information
  • Loading branch information
jamesgeorge007 authored Jul 30, 2019
2 parents ffd254d + 372c0d2 commit 8f57c6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cli/bin/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ if (process.argv[1].includes('getstorybook')) {
process.exit(1);
});

program.version(pkg.version).parse(process.argv);
program
.usage('<command> [options]')
.version(pkg.version)
.parse(process.argv);

if (!program.args.length) {
program.help();
Expand Down

0 comments on commit 8f57c6e

Please sign in to comment.