Merge "[#51] - removing --current-context for set-context"

This commit is contained in:
Zuul 2020-02-21 15:58:45 +00:00 committed by Gerrit Code Review
commit 0501a3b919
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ func NewConfigCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Comma
DisableFlagsInUseLine: true, DisableFlagsInUseLine: true,
Short: "Modify airshipctl config files", Short: "Modify airshipctl config files",
Long: `Modify airshipctl config files using subcommands 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(NewCmdConfigSetCluster(rootSettings))
configRootCmd.AddCommand(NewCmdConfigGetCluster(rootSettings)) configRootCmd.AddCommand(NewCmdConfigGetCluster(rootSettings))

View File

@ -1,5 +1,5 @@
Modify airshipctl config files using subcommands Modify airshipctl config files using subcommands
like "airshipctl config set-context --current-context my-context" like "airshipctl config set-context my-context"
Usage: Usage:
config [command] config [command]

View File

@ -1,5 +1,5 @@
Modify airshipctl config files using subcommands Modify airshipctl config files using subcommands
like "airshipctl config set-context --current-context my-context" like "airshipctl config set-context my-context"
Usage: Usage:
config [command] config [command]