From 63ea9295cf726bfccea39ffc308b80ea5c23fed9 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Wed, 11 May 2016 09:19:45 -0700 Subject: brew audit: add --display-filename format option for easy grepping (#221) --- share/doc/homebrew/brew.1.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'share/doc') diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index 6322abf16..8c18f9c0a 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -39,7 +39,7 @@ If no search term is given, all locally available formulae are listed.

Read more at https://git.io/brew-analytics.

analytics (on|off)

Turn on/off Homebrew's analytics.

analytics regenerate-uuid

Regenerate UUID used in Homebrew's analytics.

-
audit [--strict] [--online] [--display-cop-names] [formulae]

Check formulae for Homebrew coding style violations. This should be +

audit [--strict] [--online] [--display-cop-names] [--display-filename] [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.

@@ -53,6 +53,9 @@ connection are run. This should be used when creating for new formulae.

If --display-cop-names is passed, the RuboCop cop name for each violation is included in the output.

+

If --display-filename is passed, every line of output is prefixed with the +name of the file or formula being audited, to make the output easy to grep.

+

audit exits with a non-zero status if any errors are found. This is useful, for instance, for implementing pre-commit hooks.

cat formula

Display the source to formula.

-- cgit v1.2.3