aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGautham Goli2017-04-23 04:09:13 +0530
committerGautham Goli2017-05-02 23:26:12 +0530
commitc3330c289d0cc774b8154a0cee0f52fbd4b867aa (patch)
tree80ed27ae97960cc9d99984675f2d7ea4b6c030d0 /docs
parenta4568a8697e9ff4a3d8f62e37ee929e22f10d07d (diff)
downloadbrew-c3330c289d0cc774b8154a0cee0f52fbd4b867aa.tar.bz2
Add `--only-cops`,`--except-cops` options for brew audit
Also refactor audit cops into two "departments" - FormulaAudit - FormulaAuditStrict
Diffstat (limited to 'docs')
-rw-r--r--docs/Manpage.md4
1 files changed, 4 insertions, 0 deletions
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.