aboutsummaryrefslogtreecommitdiff
path: root/cmd/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/version.go')
-rw-r--r--cmd/version.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/version.go b/cmd/version.go
index f5ca999..fa574f1 100644
--- a/cmd/version.go
+++ b/cmd/version.go
@@ -20,17 +20,18 @@ package cmd
import (
"fmt"
+ "runtime"
"github.com/spf13/cobra"
)
-var version string = "v1.4.2"
+var version string = "v1.4.3"
var versionCmd = &cobra.Command {
Use: "version",
Short: "Shows current version",
Long: "Shows current version of macli",
Run: func(cmd *cobra.Command, args []string) {
- fmt.Println("macli", version)
+ fmt.Println("macli version", version, runtime.GOOS + "/" + runtime.GOARCH)
},
}