diff --git a/internal/cli/login.go b/internal/cli/login.go index ebef7c6e7..38a888471 100644 --- a/internal/cli/login.go +++ b/internal/cli/login.go @@ -28,6 +28,11 @@ func loginCmd(cli *cli) *cobra.Command { }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("tenant") + cmd.Parent().HelpFunc()(cmd, args) + }) + return cmd }