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 6e0e25bf5161b8d6e738f375971f4181555cae64
Author: Doru Bercea <gheorghe-teod.ber...@ibm.com>
AuthorDate: Tue Oct 20 13:43:36 2020 -0400

    Remove unused options.
---
 pkg/cmd/inspect.go | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/pkg/cmd/inspect.go b/pkg/cmd/inspect.go
index fc89432..123043d 100644
--- a/pkg/cmd/inspect.go
+++ b/pkg/cmd/inspect.go
@@ -54,20 +54,13 @@ func newCmdInspect(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *inspectCmdO
        }
 
        cmd.Flags().StringP("output", "o", "", "Output format. One of: 
json|yaml")
-       // TODO: support the following options:
-       cmd.Flags().Bool("all-dependencies", false, "Include both top level and 
transitive dependencies.")
-       cmd.Flags().String("dependencies-directory", "", "If set, directory 
will contain all integration dependencies.")
-       cmd.Flags().String("additional-dependencies", "", "Comma separated list 
of additional dependencies.")
 
        return &cmd, &options
 }
 
 type inspectCmdOptions struct {
        *RootCmdOptions
-       AllDependencies        bool   `mapstructure:"all-dependencies"`
-       OutputFormat           string `mapstructure:"output"`
-       DependenciesDirectory  string `mapstructure:"dependencies-directory"`
-       AdditionalDependencies string `mapstructure:"additional-dependencies"`
+       OutputFormat string `mapstructure:"output"`
 }
 
 func (command *inspectCmdOptions) validate(args []string) error {

Reply via email to