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

Merge pull request #134 from International/log-flags-for-debug

add log flags to help with debugging
This commit is contained in:
Chris Cummer
2018-06-02 15:22:14 -07:00
committed by GitHub

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)