Skip to content

fix: print command help and provide an error for unknown command#1311

Open
burmudar wants to merge 1 commit intomainfrom
wb/fix-help
Open

fix: print command help and provide an error for unknown command#1311
burmudar wants to merge 1 commit intomainfrom
wb/fix-help

Conversation

@burmudar
Copy link
Copy Markdown
Contributor

@burmudar burmudar commented May 5, 2026

If you ran src with some unknown command it wouldn't let you know that the command doesn't exist and just print the help.

We now detect when printing help that you typed some unknown command and print help, then the error is printed of Unknown command: bogus

Test plan

Tested locally

@burmudar burmudar requested a review from a team May 5, 2026 13:27
@burmudar burmudar self-assigned this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant