From 79a0f002b14a493304e30340f20f714f91901edc Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Sat, 23 Mar 2019 02:04:33 -0400 Subject: main.go:52 simplified if statement --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 94f9540..1262d57 100644 --- a/main.go +++ b/main.go @@ -49,7 +49,7 @@ func main() { jsonformatlong := flag.Bool("json", false, "Same as -j") flag.Parse() - if *jsonformat == true || *jsonformatlong == true { + if *jsonformat || *jsonformatlong { fmt.Println(`Here is the format for the JSON config file: { "owner": "YourNickHere", -- cgit 1.4.1-2-gfad0