more useful log flags

This commit is contained in:
Stephen McQuay 2016-05-17 22:53:41 -07:00
parent cc21ef3101
commit 356775342b
No known key found for this signature in database
GPG Key ID: 1ABF428F71BAFC3D
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ type stats struct {
}
func main() {
log.SetFlags(log.Lshortfile)
if len(os.Args) != 3 {
fmt.Fprintf(os.Stderr, "%s\n", usage)
os.Exit(1)