tektoncd/hub

Error message for `tkn hub search <tag-name>` is not proper

Closed this issue · 2 comments

Expected Behavior

tkn hub search should show valid error message asking for user to use --tag flag to search for tasks/pipelines with tag

Actual Behavior

tkn hub search shows an error message as Error: please specify a name, tag or a kind to search which makes user to to run tkn hub search <tag-name> instead of tkn hub search --tag <tag-name>

Steps to Reproduce the Problem

  1. Run tkn hub search
  2. Observe the error message

Additional Info

Command execution log below

$ tkn hub search 
Error: please specify a name, tag or a kind to search
  • UI Screenshots(if applicable)

    
    
sm43 commented

the error message is updated.
/close

@sm43: Closing this issue.

In response to this:

the error message is updated.
/close

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.