Skip to content

Commit bc84368

Browse files
authored
chore(CLI): Remove unused alpha CLI subcommand
The Linkerd CLI has a `alpha` subcommand that was previously used to hold experimental subcommands such as ones related to SMI. All experimental subcommands have been removed and therefore the `alpha` subcommand is empty. This causes a pointless section to be printed at the end of the linkerd CLI usage help: ``` [...] Additional help topics: linkerd alpha experimental subcommands for Linkerd Use "linkerd [command] --help" for more information about a command. ``` We remove this empty command so that it no longer shows up in the usage help: ``` Use "linkerd [command] --help" for more information about a command. ``` Signed-off-by: Alex Leong <[email protected]>
1 parent c291a04 commit bc84368

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

cli/cmd/alpha.go

Lines changed: 0 additions & 16 deletions
This file was deleted.

cli/cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ func init() {
104104
RootCmd.PersistentFlags().StringArrayVar(&impersonateGroup, "as-group", []string{}, "Group to impersonate for Kubernetes operations")
105105
RootCmd.PersistentFlags().StringVar(&apiAddr, "api-addr", "", "Override kubeconfig and communicate directly with the control plane at host:port (mostly for testing)")
106106
RootCmd.PersistentFlags().BoolVar(&verbose, "verbose", false, "Turn on debug logging")
107-
RootCmd.AddCommand(newCmdAlpha())
108107
RootCmd.AddCommand(newCmdCheck())
109108
RootCmd.AddCommand(newCmdCompletion())
110109
RootCmd.AddCommand(newCmdDiagnostics())

0 commit comments

Comments
 (0)