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 and shilman committed Jul 31, 2019
1 parent 0ffff59 commit a8b3987
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 @@ -36,7 +36,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 a8b3987

Please sign in to comment.