diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 35a6755d6f..eb9d6d1a1a 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -38,12 +38,15 @@ Note that these flags should only appear after a command. ## COMMANDS - * `audit` []: + * `audit` [--strict] []: Check for Homebrew coding style violations. This should be run before submitting a new formula. If no are provided, all of them are checked. + If `--strict` is passed, additional checks are run. This should be used + when creating for new formulae. + `audit` exits with a non-zero status if any errors are found. This is useful, for instance, for implementing pre-commit hooks. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 5a305a365d..8d5a13146f 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -44,13 +44,16 @@ Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is su .SH "COMMANDS" . .TP -\fBaudit\fR [\fIformulae\fR] +\fBaudit\fR [\-\-strict] [\fIformulae\fR] Check \fIformulae\fR for Homebrew coding style violations\. This should be run before submitting a new formula\. . .IP If no \fIformulae\fR are provided, all of them are checked\. . .IP +If \fB\-\-strict\fR is passed, additional checks are run\. This should be used when creating for new formulae\. +. +.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