Merge pull request #2204 from patrikerdes/get-k8s-versions-help

Make it known that get-k8s-versions is only relevant when using localkube
pull/2208/head
Matt Rickard 2017-11-17 09:08:19 -08:00 committed by GitHub
commit 8ee34ac322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ import (
// getK8sVersionsCmd represents the ip command
var getK8sVersionsCmd = &cobra.Command{
Use: "get-k8s-versions",
Short: "Gets the list of available kubernetes versions available for minikube",
Long: `Gets the list of available kubernetes versions available for minikube.`,
Short: "Gets the list of Kubernetes versions available for minikube when using the localkube bootstrapper",
Long: `Gets the list of Kubernetes versions available for minikube when using the localkube bootstrapper.`,
Run: func(cmd *cobra.Command, args []string) {
kubernetes_versions.PrintKubernetesVersionsFromGCS(os.Stdout)
},

View File

@ -39,7 +39,7 @@ func PrintKubernetesVersions(output io.Writer, url string) {
glog.Errorln(err)
return
}
fmt.Fprint(output, "The following Kubernetes versions are available: \n")
fmt.Fprint(output, "The following Kubernetes versions are available when using the localkube bootstrapper: \n")
for _, k8sVersion := range k8sVersions {
fmt.Fprintf(output, "\t- %s\n", k8sVersion.Version)