-
Notifications
You must be signed in to change notification settings - Fork 257
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
Error Message Should Not Also Display Help Message #183
Comments
@danielhelfand I my opinion, with the error message a suggestion on what to do next e.g. |
also to add to the merits of the above mentioned approach, it aligns with how
|
@girishramnani Yes, I agree. That's what I was I trying to communicate with the following sentence in the issue:
Apologies, looking back on it, I could have written it more clearly. I think a suggestion to use |
With #292, the |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Removing myself from reviewers
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Currently, when an error occurs, the user sees the error message returned and below that message is shown the
--help
output for the command that produced the error.It's a bit overwhelming to get all of the information from
--help
when the user is not expecting it, and it also makes it difficult to find the error message.I am proposing in this issue that the Tekton CLI simply return the error message instead of information from
--help
. An alternative that would allow the user to make the choice to see all of the information from--help
would be to suggest to run--help
with the command that was run.Expected Behavior
When an error occurs, a user should simply receive the error message.
Actual Behavior
The user receives the error message and also receives information from
--help
.Steps to Reproduce the Problem
tkn pr ls -n
and don't give-n
a name argumentThe text was updated successfully, but these errors were encountered: