aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/manpages/brew.1.md
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/manpages/brew.1.md')
-rw-r--r--Library/Homebrew/manpages/brew.1.md5
1 files changed, 4 insertions, 1 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.