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

"odo catalog list" leads to error, but is suggested in "odo create --help" #3380

Closed
rhuss opened this issue Jun 18, 2020 · 0 comments · Fixed by #3419
Closed

"odo catalog list" leads to error, but is suggested in "odo create --help" #3380

rhuss opened this issue Jun 18, 2020 · 0 comments · Fixed by #3419
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects

Comments

@rhuss
Copy link
Contributor

rhuss commented Jun 18, 2020

/kind bug

What versions of software are you using?

Operating System:

Output of odo version:

odo version
odo v1.2.2 (53530e0e5)

Server: https://api.rhuss-dev.devcluster.openshift.com:6443
Kubernetes: v1.17.1+f63db30
$ odo create --help 
....
A full list of component types that can be deployed is available using: 'odo catalog list'
....

$ odo catalog list
 odo catalog list
Error: Subcommand not found, use one of the available commands: components, services
Usage:
  odo catalog list [flags]
  odo catalog list [command]
....
....
 ✗  Subcommand not found, use one of the available commands: components, services

I suggest changing to odo catalog list components for the description in odo create --help
Also the usage message of "odo catalog list [flags]" is not correct as this leads to the given error message (that is again printed twice). "odo catalog list [command]" is also not really correct as "[command]" is not optional, but mandatory. (Something like odo catalog list COMMAND is typically used for such scenarios)

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 18, 2020
@girishramnani girishramnani added this to For consideration in Sprint 186 via automation Jun 22, 2020
@devang-gaur devang-gaur moved this from For consideration to To do in Sprint 186 Jun 24, 2020
devang-gaur added a commit to devang-gaur/odo that referenced this issue Jun 25, 2020
@girishramnani girishramnani moved this from To do to For review in Sprint 186 Jun 25, 2020
devang-gaur added a commit to devang-gaur/odo that referenced this issue Jun 29, 2020
…talog list components` instead of `odo catalog list`
Sprint 186 automation moved this from For review to Done Jul 3, 2020
openshift-merge-robot pushed a commit that referenced this issue Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
No open projects
Sprint 186
  
Done
3 participants