diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-03-23 02:04:33 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-03-23 02:04:33 -0400 |
commit | 79a0f002b14a493304e30340f20f714f91901edc (patch) | |
tree | 65edb62e0ec96d332e48f40722e7370770dc4854 | |
parent | 38c56e0d5c70c0c1776b1c19b4983451cab4359d (diff) | |
download | goofbot-79a0f002b14a493304e30340f20f714f91901edc.tar.gz |
main.go:52 simplified if statement
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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", |