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 Chris Cummer
parent 73091d55df
commit 14fcac1166

1
wtf.go
View File

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