cli: print the rev number in hex

This commit is contained in:
Karan Misra 2015-01-15 06:56:14 +05:30
parent de0ad53f3f
commit 714179b86b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ func detect(c *cli.Context) {
fmt.Println(err)
os.Exit(1)
}
fmt.Printf("detected host %v (rev %v)\n", host, rev)
fmt.Printf("detected host %v (rev %#x)\n", host, rev)
}
var detectCmd = cli.Command{