diff options
| author | Petter Rasmussen | 2016-02-21 18:57:56 +0100 |
|---|---|---|
| committer | Petter Rasmussen | 2016-02-21 18:57:56 +0100 |
| commit | a85c7245b3b6aefdcbf4cdf4e2ad9e87e4e5b30e (patch) | |
| tree | 06f3b012ee96626ac8ef229283334de5f43d6739 | |
| parent | 2765f4ab467319a59224f078ec8ed8970a22025c (diff) | |
| download | gdrive-a85c7245b3b6aefdcbf4cdf4e2ad9e87e4e5b30e.tar.bz2 | |
Add os/arch to version
| -rw-r--r-- | handlers_meta.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/handlers_meta.go b/handlers_meta.go index 1c20add..52be710 100644 --- a/handlers_meta.go +++ b/handlers_meta.go @@ -10,7 +10,9 @@ import ( ) func printVersion(ctx cli.Context) { - fmt.Printf("%s v%s, %s\n", Name, Version, runtime.Version()) + fmt.Printf("%s: %s\n", Name, Version) + fmt.Printf("Golang: %s\n", runtime.Version()) + fmt.Printf("OS/Arch: %s/%s\n", runtime.GOOS, runtime.GOARCH) } func printHelp(ctx cli.Context) { |
