manpage: document brew audit --strict.

This commit is contained in:
Mike McQuaid 2014-12-27 16:51:43 +00:00
parent c4f7217811
commit 5cff7efc56
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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