Fix log formatting, refactor flag definition in cmd/labels.go (#52)

This commit is contained in:
Norwin
2019-10-26 04:50:30 +00:00
committed by Lunny Xiao
parent 7df0354d6c
commit 0926a42029
2 changed files with 22 additions and 13 deletions

View File

@ -44,7 +44,7 @@ func main() {
app.EnableBashCompletion = true
err := app.Run(os.Args)
if err != nil {
log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)
log.Fatalf("Failed to run app with %s: %v", os.Args, err)
}
}