aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/manpages
diff options
context:
space:
mode:
authorMike McQuaid2015-07-09 12:31:17 +0100
committerMike McQuaid2015-07-09 14:50:55 +0100
commit3ac60059312dc7ca396500819d9f0f32dabf13e9 (patch)
tree996867efc2b2f39420f76b9af22d4055d122d76b /Library/Homebrew/manpages
parentb11ae2abdcb1ab91000109a4852f92ba2de0c285 (diff)
downloadbrew-3ac60059312dc7ca396500819d9f0f32dabf13e9.tar.bz2
audit: add --online flag.
Also add it to the manpage and brew-test-bot. Closes Homebrew/homebrew#41516. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/manpages')
-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 d5c6fa17c..ede0d0224 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -38,7 +38,7 @@ Note that these flags should only appear after a command.
## COMMANDS
- * `audit` [--strict] [<formulae>]:
+ * `audit` [--strict] [--online] [<formulae>]:
Check <formulae> for Homebrew coding style violations. This should be
run before submitting a new formula.
@@ -47,6 +47,9 @@ Note that these flags should only appear after a command.
If `--strict` is passed, additional checks are run. This should be used
when creating for new formulae.
+ If `--online` is passed, additional slower checks that require a network
+ connection 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.