From c3330c289d0cc774b8154a0cee0f52fbd4b867aa Mon Sep 17 00:00:00 2001 From: Gautham Goli Date: Sun, 23 Apr 2017 04:09:13 +0530 Subject: Add `--only-cops`,`--except-cops` options for brew audit Also refactor audit cops into two "departments" - FormulaAudit - FormulaAuditStrict --- docs/Manpage.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/Manpage.md') diff --git a/docs/Manpage.md b/docs/Manpage.md index 1f8906c8a..4e173668a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -635,6 +635,10 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note If `--except` is passed, the methods named `audit_`method`` will not be run. + If `--only-cops` is passed, only the mentioned cops' violations would be checked. + + If `--except-cops` is passed, the mentioned cops' checks would be skipped. + `audit` exits with a non-zero status if any errors are found. This is useful, for instance, for implementing pre-commit hooks. -- cgit v1.2.3