diff --git a/cmd/auth/update.go b/cmd/auth/update.go index 7f28f68..66ba06e 100644 --- a/cmd/auth/update.go +++ b/cmd/auth/update.go @@ -90,7 +90,7 @@ var updateCmd = &cobra.Command{ } } if !foundBackend { - color.Red("Error: %s does not exist in configuration file. Please use k8sgpt auth new.", args[0]) + color.Red("Error: %s does not exist in configuration file. Please use k8sgpt auth new.", backend) os.Exit(1) }