Skip to content

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

Merged
burmudar merged 2 commits intomainfrom
wb/fix-help
May 6, 2026
Merged

fix: print command help and provide an error for unknown command#1311
burmudar merged 2 commits 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
@burmudar burmudar enabled auto-merge (squash) May 6, 2026 08:55
@burmudar burmudar merged commit f922209 into main May 6, 2026
9 checks passed
@burmudar burmudar deleted the wb/fix-help branch May 6, 2026 09:02
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.

2 participants