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

Update CLI help text for invalid option error #2138

Closed
t1m0thyj opened this issue May 13, 2024 · 2 comments · Fixed by #2149 or #2156
Closed

Update CLI help text for invalid option error #2138

t1m0thyj opened this issue May 13, 2024 · 2 comments · Fixed by #2149 or #2156
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers priority-low Legit issue but cosmetic or nice-to-have

Comments

@t1m0thyj
Copy link
Member

When running a command with an invalid option such as zowe files ls ds --protocol invalid, the error message says:

The value must match one of the following regular expressions:

Although regexes are supported here, in many cases the values are simple strings rather than regexes.
So we want to simplify the wording to say "the following options" instead of "the following regular expressions".

To make this change, wording needs to be updated here and any failing snapshots will need to updated:

"The value must match one of the following regular expressions:\n{{allowed}}.",

@t1m0thyj t1m0thyj added enhancement New feature or request good first issue Good for newcomers new The issue wasn't triaged yet labels May 13, 2024
Copy link

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@JTonda JTonda added priority-low Legit issue but cosmetic or nice-to-have and removed new The issue wasn't triaged yet labels May 15, 2024
@ATorrise ATorrise self-assigned this May 22, 2024
@jace-roell
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers priority-low Legit issue but cosmetic or nice-to-have
Projects
Status: Closed
4 participants