-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start-storybook cli flag conflict #5360
Comments
Thanks for the catch @pascalduez! I'm not quite sure though whether it's just as easy as changing the |
That sounds like a good workaround to me @Keraito! |
@pascalduez would you like to open a PR for it? 😊 |
I was thinking of just removing the Tell me the desired solution and I'll open a PR. |
@pascalduez Let's just stick to uppercasing the |
I don't think it's currently possible to change the There's a little hack we could apply, so that calling program.on('option:host', value => {
if (!value) {
program.help();
}
}); |
That sounds like a decent workaround for now @pascalduez |
For your interest, from Commander v3, there is |
Describe the bug
The
start-storybook
cli make use of the shorthand-h
flag for two different functions.host
andhelp
,host
overridinghelp
.The help flag is automatically inserted by the
commander
package.No big deal, but could be a quick-win.
The text was updated successfully, but these errors were encountered: