From a966ff760c3a2e2fa02dbdc0a3765db1a73006ad Mon Sep 17 00:00:00 2001 From: "Joaquin L. Pereyra" <joaquin.pereyra@mercadolibre.com> Date: Tue, 22 Jan 2019 11:25:14 -0300 Subject: [PATCH] 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3c7084..02dcb99 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ A number of global settings can be provided in a configuration file as follows: { "global": { "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 # Run with a global configuration file -$ goesc -config config.json +$ goesc -conf config.json . ``` ### Excluding files