Fix -conf example in README.md

1. Example config json included a trailing comma, even though as we obviously know this is how things should be, JSON does not agree and the parser fails miserably
2. Flag was incorrectly stated as -config in the README, the correct flag is -conf
3. Example command did not work as did not include final dot to examine the current pkg.
This commit is contained in:
Joaquin L. Pereyra 2019-01-22 11:25:14 -03:00 committed by Cosmin Cojocar
parent b6626154df
commit a966ff760c

View file

@ -95,7 +95,7 @@ A number of global settings can be provided in a configuration file as follows:
{ {
"global": { "global": {
"nosec": "enabled", "nosec": "enabled",
"audit": "enabled", "audit": "enabled"
} }
} }
``` ```
@ -105,7 +105,7 @@ A number of global settings can be provided in a configuration file as follows:
```bash ```bash
# Run with a global configuration file # Run with a global configuration file
$ goesc -config config.json $ goesc -conf config.json .
``` ```
### Excluding files ### Excluding files