Skip to content

Commit 59454e8

Browse files
committed
Add runtime info to -version
1 parent ea4fd3d commit 59454e8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"log"
88
"net/http"
99
"os"
10+
"runtime"
1011
"strings"
1112
)
1213

@@ -46,7 +47,7 @@ func main() {
4647
flag.Parse()
4748

4849
if *versDisp {
49-
fmt.Printf("Version: v%s\n", Version)
50+
fmt.Printf("Version: v%s %s\n", Version, runtime.Version())
5051
fmt.Printf("Home Page: %s\n", Homepage)
5152
os.Exit(0)
5253
}

0 commit comments

Comments
 (0)