Skip to content

Commit

Permalink
Add short name for the root command
Browse files Browse the repository at this point in the history
Signed-off-by: Vui Lam <vui.lam@broadcom.com>
  • Loading branch information
vuil committed Apr 29, 2024
1 parent 5caeb17 commit 011eeb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ func setupTargetPlugins() error {

func newRootCmd() *cobra.Command {
var rootCmd = &cobra.Command{
Use: "tanzu",
Use: "tanzu",
Short: "The Tanzu CLI",
// Don't have Cobra print the error message, the CLI will
// print it itself in a nicer format.
SilenceErrors: true,
Expand Down

0 comments on commit 011eeb6

Please sign in to comment.