Skip to content

Commit a966ff7

Browse files
joaquinlpereyra-mlCosmin Cojocar
authored andcommitted
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.
1 parent b662615 commit a966ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ A number of global settings can be provided in a configuration file as follows:
9595
{
9696
"global": {
9797
"nosec": "enabled",
98-
"audit": "enabled",
98+
"audit": "enabled"
9999
}
100100
}
101101
```
@@ -105,7 +105,7 @@ A number of global settings can be provided in a configuration file as follows:
105105

106106
```bash
107107
# Run with a global configuration file
108-
$ goesc -config config.json
108+
$ goesc -conf config.json .
109109
```
110110

111111
### Excluding files

0 commit comments

Comments
 (0)