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
commit f90dbdaed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)