From e2060e9cd31412805a09fb8ba3cfb28af87ad591 Mon Sep 17 00:00:00 2001 From: zricethezav Date: Sun, 4 Mar 2018 20:23:04 -0600 Subject: [PATCH] fixing table --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1b844e64..7fa48fb6 100644 --- a/README.md +++ b/README.md @@ -42,17 +42,22 @@ Options: #### Exit Codes Use these codes to hook gitleaks into whatever pipeline you're running -| code | explanation | -| ------------- | ------------- | -| 0 | Gitleaks succeeded with no leaks | -| 1 | Gitleaks failed or wasn't attempted due to execution failure | -| 2 | Gitleaks succeeded and leaks were present during the audit | +code | explanation + -------------|------------- +0 | Gitleaks succeeded with no leaks +1 | Gitleaks failed or wasn't attempted due to execution failure +2 | Gitleaks succeeded and leaks were present during the audit #### Examples ```bash gitleaks ``` -Run audit on current working directory if `.git` is present | +Run audit on current working directory if `.git` is present + +```bash +gitleaks --local $HOME/audits/some/repo +``` +Run audit on repo located in `HOME/audits/some/repo` if `.git` is present ```bash gitleaks https://github.com/some/repo