diff options
| author | Mike McQuaid | 2017-04-18 09:18:55 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-18 09:18:55 +0100 |
| commit | 55c02ae7747bf05eadec95c91497d06ec3dd2ded (patch) | |
| tree | 05ca665c3fce69e0e69058f9cb919dc3d42d6192 /manpages | |
| parent | 20ad7f9cf6e69196b224f95e9fce4b8af8a6d284 (diff) | |
| parent | 3f8722c971cedf8b2c66d918fc4dd608bf439009 (diff) | |
| download | brew-55c02ae7747bf05eadec95c91497d06ec3dd2ded.tar.bz2 | |
Merge pull request #2478 from MikeMcQuaid/audit-skip-methods
audit: allow skipping audit methods.
Diffstat (limited to 'manpages')
| -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 69fa3260a..e39d012f3 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 |
