cmd/gopngquant: expand version display to include both string and int versions
This commit is contained in:
parent
ea2ed0e25b
commit
55baa64e00
@ -14,7 +14,7 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
if *ShouldDisplayVersion {
|
||||
fmt.Printf("libimagequant %d\n", imagequant.GetLibraryVersion())
|
||||
fmt.Printf("libimagequant '%s' (%d)\n", imagequant.GetLibraryVersionString(), imagequant.GetLibraryVersion())
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user