diff options
author | Benny Morrison <benmorrison@ttm.sh> | 2019-03-17 03:10:22 -0400 |
---|---|---|
committer | Benny Morrison <benmorrison@ttm.sh> | 2019-03-17 03:10:22 -0400 |
commit | 56a8787636e265eca71a0bf01925cf8baca60787 (patch) | |
tree | a63561901ffc7fd900e6c0c924a8713b764ca054 | |
parent | 71c2204119fec738a270ed50ec313ff2c8d6dc39 (diff) | |
download | goofbot-56a8787636e265eca71a0bf01925cf8baca60787.tar.gz |
fixed comments
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go index 998e612..d73e5fd 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,9 @@ type Conf struct { func main() { //check for config file specified by command line flag -c jsonlocation := flag.String("c", "config.json", "Path to config file in JSON format") + //spit out config file structure if requested jsonformat := flag.Bool("j", false, "Describes JSON config file fields") + flag.Parse() if *jsonformat == true { fmt.Println(`Here is the format for the JSON config file: |