Skip to content
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

Display an error on unknown command #3361

Merged
merged 1 commit into from Aug 13, 2019
Merged

Display an error on unknown command #3361

merged 1 commit into from Aug 13, 2019

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Aug 12, 2019

Before this, trying to execute an unknown command would just silently exit and say nothing.

Ref https://github.com/tj/commander.js#custom-event-listeners

Fixes #1967

@xPaw xPaw added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Aug 12, 2019
@xPaw xPaw added this to the 3.2.0 milestone Aug 12, 2019
@xPaw xPaw requested a review from AlMcKinlay August 12, 2019 10:42
@xPaw xPaw merged commit d7dcdd1 into master Aug 13, 2019
@xPaw xPaw deleted the xpaw/unknown-cmd-error branch August 13, 2019 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI does not output anything on invalid commands
2 participants