mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 20:51:07 +08:00
CLI: rely on arg-parser defaults
This commit is contained in:
parent
11d1c1410b
commit
d61809289b
@ -102,7 +102,3 @@ program.on('command:*', ([invalidCmd]) => {
|
||||
});
|
||||
|
||||
program.usage('<command> [options]').version(pkg.version).parse(process.argv);
|
||||
|
||||
if (program.rawArgs.length < 3) {
|
||||
program.help();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user