Skip to content

Commit

Permalink
Fix the admin-console upgrade CLI command help text (#4796)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Jul 31, 2024
1 parent 5670906 commit 71345e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/kots/cli/admin-console-upgrade.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package cli

import (
"fmt"
"os"
"strconv"
"strings"
"time"

"github.com/manifoldco/promptui"
"github.com/pkg/errors"
"github.com/replicatedhq/kots/pkg/buildversion"
"github.com/replicatedhq/kots/pkg/k8sutil"
"github.com/replicatedhq/kots/pkg/kotsadm"
kotsadmtypes "github.com/replicatedhq/kots/pkg/kotsadm/types"
Expand All @@ -20,8 +22,8 @@ import (
func AdminConsoleUpgradeCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "upgrade",
Short: "Upgrade the admin console to the latest version",
Long: "Upgrade the admin console to the latest version",
Short: fmt.Sprintf("Upgrade the admin console to version %s", buildversion.Version()),
Long: "",
SilenceUsage: true,
SilenceErrors: false,
PreRun: func(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 71345e0

Please sign in to comment.