Merge pull request #1576 from rndstr/patch-1

Fix typos in profile help
pull/1581/merge
Aaron Prindle 2017-06-13 10:03:03 -07:00 committed by GitHub
commit 09709ccf9b
1 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@ import (
)
var ProfileCmd = &cobra.Command{
Use: "profile MINIKUBE_PROFILE_NAME. You can return the the default minikube name by running `minikube profile default`",
Use: "profile MINIKUBE_PROFILE_NAME. You can return to the default minikube profile by running `minikube profile default`",
Short: "Profile sets the current minikube profile",
Long: "profile sets the current minikube profile. This is used to run and manage multiple minikube instance. You can return to the default minikube name by running `minikube profile default`",
Long: "profile sets the current minikube profile. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`",
Run: func(cmd *cobra.Command, args []string) {
if len(args) != 1 {
fmt.Fprintln(os.Stderr, "usage: minikube profile MINIKUBE_PROFILE_NAME")
@ -42,7 +42,7 @@ var ProfileCmd = &cobra.Command{
if err != nil {
fmt.Fprintln(os.Stdout, err)
} else {
fmt.Fprintln(os.Stdout, fmt.Sprintf("minikube profile was successfully set the %s", profile))
fmt.Fprintln(os.Stdout, fmt.Sprintf("minikube profile was successfully set to %s", profile))
}
},
}