This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f0e11b25c94b06f96256447f0332e5c2460b1ec6
Author: Doru Bercea <[email protected]>
AuthorDate: Wed Nov 11 14:43:19 2020 -0500

    Update usage.
---
 pkg/cmd/inspect.go | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/pkg/cmd/inspect.go b/pkg/cmd/inspect.go
index 9967cfd..40c0dc1 100644
--- a/pkg/cmd/inspect.go
+++ b/pkg/cmd/inspect.go
@@ -19,7 +19,6 @@ package cmd
 
 import (
        "fmt"
-       "strings"
 
        "github.com/spf13/cobra"
 )
@@ -58,9 +57,7 @@ will be generated by calling Maven and then printed in the 
selected output forma
        }
 
        cmd.Flags().Bool("all-dependencies", false, "Compute transitive 
dependencies and move them to directory pointed to by the 
--dependencies-directory flag.")
-       cmd.Flags().StringArrayP("dependency", "d", nil, `Additional top-level 
dependency with the format:
-<type>:<dependency-name>
-where <type> is one of {`+strings.Join(acceptedDependencyTypes, "|")+`}.`)
+       cmd.Flags().StringArrayP("dependency", "d", nil, 
additionalDependencyUsageMessage)
        cmd.Flags().StringP("output", "o", "", "Output format. One of: 
json|yaml")
 
        return &cmd, &options

Reply via email to