1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

add log flags to help with debugging

This commit is contained in:
George Opritescu
2018-06-02 23:02:04 +03:00
committed by GitHub
parent 10c44433b4
commit f311104fa0

1
wtf.go
View File

@@ -207,6 +207,7 @@ func loadConfig(configFlag string) {
} }
func main() { func main() {
log.SetFlags(log.LstdFlags | log.Lshortfile)
cmdFlags := wtf.NewCommandFlags() cmdFlags := wtf.NewCommandFlags()
cmdFlags.Parse(version) cmdFlags.Parse(version)