Open Racer159 opened 2 years ago
@Racer159 - Language that both explains the error and then shows the correct command? I have seen something like this in a CLI before
Looks like. you are trying to remove a package. Be sure to add -- confirm to the command. Try this [correct command]
Yes something like that, or more highlighting of the message that exists already. Initially I didn't notice it since it printed the help information again which was confusing initially. In my experience commands will do this sometimes but only in explicit scenarios. Usually if they know what you did wrong they will say only that without printing the rest of it. Here is how apt does it:
@Racer159 I think given that Ashton (deployer) will have limited CLI experience, adding one more line that suggest what to try instead is worth it. Thoughts?
Note this is partially resolved at this point:
That said, as a newcomer it was still confusing that it said the "confirm flag" without clarifying "try:
There's a bit of guesswork involved in concluding that the "confirm flag" is "--confirm".
Environment
Device and OS: System76 popOS 22.04 App version: v0.22.1 Kubernetes distro being used: k3d Other: N/A
Steps to reproduce
Expected result
A red message that is obvious for why it failed
Actual Result
The help message with an error printed in white
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Low
Additional Context
Also a messaging bug that could be helped by the language file work