-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
bug: version flag doesn't care about other arguments #1412
Comments
Should output an error like do other cli (exit code - 2), for example eslint do:
|
Sounds good. I will work on it. |
Same is the case with |
What happens in case of multiple commands? Which takes precedence? |
@anshumanv Can you provide some examples? |
|
It should output the version of init as well. #1363 |
Yep that would be good 👍 |
I think json flag also doesn't care about any other flag |
Describe the bug
version flag doesn't care about other arguments supplied at the same time.
What is the current behavior?
To Reproduce
Steps to reproduce the behavior:
webpack --version --abc
Expected behavior
Should throw a warning fo invalid args.
Please paste the results of
webpack-cli info
here, and mention other relevant informationAdditional context
Looking into it. Open for discussion
The text was updated successfully, but these errors were encountered: