diff options
| author | Mike McQuaid | 2017-04-18 08:17:24 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-04-18 08:17:26 +0100 |
| commit | 3f8722c971cedf8b2c66d918fc4dd608bf439009 (patch) | |
| tree | e0adb797c34673331d2c16023425fbeca76a0a41 /manpages/brew.1 | |
| parent | 417f49dd32bfe555b20f3f7d88e2739f6623991b (diff) | |
| download | brew-3f8722c971cedf8b2c66d918fc4dd608bf439009.tar.bz2 | |
audit: allow skipping audit methods.
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
Diffstat (limited to 'manpages/brew.1')
| -rw-r--r-- | manpages/brew.1 | 8 |
1 files changed, 7 insertions, 1 deletions
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] [<formulae\fR] Check \fIformulae\fR for Homebrew coding style violations\. This should be run before submitting a new formula\. . .IP @@ -656,6 +656,12 @@ If \fB\-\-display\-cop\-names\fR is passed, the RuboCop cop name for each violat If \fB\-\-display\-filename\fR is passed, every line of output is prefixed with the name of the file or formula being audited, to make the output easy to grep\. . .IP +If \fB\-\-only\fR is passed, only the methods named \fBaudit_<method>\fR will be run\. +. +.IP +If \fB\-\-except\fR is passed, the methods named \fBaudit_<method>\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 |
