show Go version

This commit is contained in:
Jehiah Czebotar 2015-03-19 23:03:00 -04:00
parent 8751f48a4c
commit 6b771fdd9e

View File

@ -8,6 +8,7 @@ import (
"net/http" "net/http"
"net/url" "net/url"
"os" "os"
"runtime"
"strings" "strings"
"time" "time"
@ -52,7 +53,7 @@ func main() {
flagSet.Parse(os.Args[1:]) flagSet.Parse(os.Args[1:])
if *showVersion { if *showVersion {
fmt.Printf("google_auth_proxy v%s\n", VERSION) fmt.Printf("google_auth_proxy v%s (built with %s)\n", VERSION, runtime.Version())
return return
} }