mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Merge pull request #7627 from jamesgeorge007/hotfix/fixup-usage-info
fix(cli): Fixup usage information
This commit is contained in:
commit
8f57c6edcc
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user