diff options
| author | Petter Rasmussen | 2016-02-21 17:16:56 +0100 |
|---|---|---|
| committer | Petter Rasmussen | 2016-02-21 17:16:56 +0100 |
| commit | 2765f4ab467319a59224f078ec8ed8970a22025c (patch) | |
| tree | c00325ee2d8616ac0efa68f06f5ec2773779b0d0 | |
| parent | f20a7f8125d3250eeea106860009b44dca9513dd (diff) | |
| download | gdrive-2765f4ab467319a59224f078ec8ed8970a22025c.tar.bz2 | |
Add go version
| -rw-r--r-- | handlers_meta.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/handlers_meta.go b/handlers_meta.go index eebdbce..1c20add 100644 --- a/handlers_meta.go +++ b/handlers_meta.go @@ -4,12 +4,13 @@ import ( "os" "fmt" "strings" + "runtime" "text/tabwriter" "./cli" ) func printVersion(ctx cli.Context) { - fmt.Printf("%s v%s\n", Name, Version) + fmt.Printf("%s v%s, %s\n", Name, Version, runtime.Version()) } func printHelp(ctx cli.Context) { |
