We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daacf3d + 90cd742 commit 4d02473Copy full SHA for 4d02473
cmd/minikube/cmd/version.go
@@ -28,6 +28,10 @@ var versionCmd = &cobra.Command{
28
Use: "version",
29
Short: "Print the version of minikube.",
30
Long: `Print the version of minikube.`,
31
+ PersistentPreRun: func(cmd *cobra.Command, args []string) {
32
+ // Empty func to override parent pre-run - don't want to perform
33
+ // check for new version.
34
+ },
35
Run: func(command *cobra.Command, args []string) {
36
37
fmt.Println("minikube version:", version.GetVersion())
0 commit comments