From 3f8722c971cedf8b2c66d918fc4dd608bf439009 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 18 Apr 2017 08:17:24 +0100 Subject: audit: allow skipping audit methods. Add `--only` and `--except` methods which can be used to selectively enable or disable audit groups. --- manpages/brew.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'manpages') diff --git a/manpages/brew.1 b/manpages/brew.1 index 6c30b60cf..5c67849d0 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -631,7 +631,7 @@ Print the version number of Homebrew to standard output and exit\. .SH "DEVELOPER COMMANDS" . .TP -\fBaudit\fR [\fB\-\-strict\fR] [\fB\-\-fix\fR] [\fB\-\-online\fR] [\fB\-\-new\-formula\fR] [\fB\-\-display\-cop\-names\fR] [\fB\-\-display\-filename\fR] [\fIformulae\fR] +\fBaudit\fR [\fB\-\-strict\fR] [\fB\-\-fix\fR] [\fB\-\-online\fR] [\fB\-\-new\-formula\fR] [\fB\-\-display\-cop\-names\fR] [\fB\-\-display\-filename\fR] [\fB\-\-only=\fR\fImethod\fR|\fB\-\-except=\fR\fImethod] [\fR will be run\. +. +.IP +If \fB\-\-except\fR is passed, the methods named \fBaudit_\fR will not be run\. +. +.IP \fBaudit\fR exits with a non\-zero status if any errors are found\. This is useful, for instance, for implementing pre\-commit hooks\. . .TP -- cgit v1.2.3