diff --git a/cmd/config/config.go b/cmd/config/config.go index 6f6b4cbd0..2e203d00a 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -13,7 +13,7 @@ func NewConfigCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Comma DisableFlagsInUseLine: true, Short: "Modify airshipctl config files", Long: `Modify airshipctl config files using subcommands -like "airshipctl config set-context --current-context my-context" `, +like "airshipctl config set-context my-context" `, } configRootCmd.AddCommand(NewCmdConfigSetCluster(rootSettings)) configRootCmd.AddCommand(NewCmdConfigGetCluster(rootSettings)) diff --git a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-defaults.golden b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-defaults.golden index bfa89e315..aa5b24d6e 100644 --- a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-defaults.golden +++ b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-defaults.golden @@ -1,5 +1,5 @@ Modify airshipctl config files using subcommands -like "airshipctl config set-context --current-context my-context" +like "airshipctl config set-context my-context" Usage: config [command] diff --git a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden index bfa89e315..aa5b24d6e 100644 --- a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden +++ b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden @@ -1,5 +1,5 @@ Modify airshipctl config files using subcommands -like "airshipctl config set-context --current-context my-context" +like "airshipctl config set-context my-context" Usage: config [command]