aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/manpages/brew.1.md5
-rw-r--r--share/man/man1/brew.15
2 files changed, 8 insertions, 2 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index 35a6755d6..eb9d6d1a1 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` [<formulae>]:
+ * `audit` [--strict] [<formulae>]:
Check <formulae> for Homebrew coding style violations. This should be
run before submitting a new formula.
If no <formulae> 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 5a305a365..8d5a13146 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