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

fix: only replace command id in usage if it's at beginning of string #1090

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

mdonnalley
Copy link
Contributor

@mdonnalley mdonnalley commented May 31, 2024

Only replace command id in usage if it's at the beginning of the string. This solves problem where the command id is present elsewhere in the string (e.g. if it's a single letter command id)

Note: external unit tests failing because oclif plugins are now using v4

Fixes #1089
@W-15903264@

@cristiand391 cristiand391 merged commit 3916945 into main Jun 3, 2024
73 of 82 checks passed
@cristiand391 cristiand391 deleted the mdonnalley/update-replace branch June 3, 2024 20:46
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.

Help strips strings from USAGE flags when they match command alias
2 participants