diff options
-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: |