From 56a8787636e265eca71a0bf01925cf8baca60787 Mon Sep 17 00:00:00 2001 From: Benny Morrison Date: Sun, 17 Mar 2019 03:10:22 -0400 Subject: fixed comments --- main.go | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit 1.4.1-2-gfad0