Skip to content

Commit

Permalink
Add os/arch to version
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Feb 21, 2016
1 parent 2765f4a commit a85c724
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handlers_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a85c724

Please sign in to comment.