Skip to content
Permalink
Browse files

resolve odo list --help having different output then odo component li…

…st --help (#2421)
  • Loading branch information
girishramnani authored and openshift-merge-robot committed Dec 2, 2019
1 parent 49eae2d commit 5cd34151c91267ec7be86c424e7c2bc2f03327e5
Showing with 2 additions and 0 deletions.
  1. +2 −0 pkg/odo/cli/component/list.go
@@ -152,6 +152,8 @@ func NewCmdList(name, fullName string) *cobra.Command {
genericclioptions.AddContextFlag(componentListCmd, &o.componentContext)
componentListCmd.Flags().StringVar(&o.pathFlag, "path", "", "path of the directory to scan for odo component directories")
componentListCmd.Flags().BoolVar(&o.allFlag, "all", false, "lists all components")
componentListCmd.SetUsageTemplate(odoutil.CmdUsageTemplate)

//Adding `--project` flag
projectCmd.AddProjectFlag(componentListCmd)
//Adding `--application` flag

0 comments on commit 5cd3415

Please sign in to comment.
You can’t perform that action at this time.