aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMike McQuaid2017-02-12 13:09:28 +0000
committerGitHub2017-02-12 13:09:28 +0000
commit674e5f13f8e30dedee92abffa882406c883948d9 (patch)
treecfb30fcf22d3baf54daddcd5e626e58c903f2b16 /docs
parent1292a4b219ad6e99a06fdf2a8c623e99a2354710 (diff)
parent5dc358c1b7254aa622504cd98528779caf6dee00 (diff)
downloadbrew-674e5f13f8e30dedee92abffa882406c883948d9.tar.bz2
Merge pull request #1873 from GauthamGoli/audit_custom_cops
Custom Cops for `brew audit`
Diffstat (limited to 'docs')
-rw-r--r--docs/brew.1.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/brew.1.html b/docs/brew.1.html
index c8f6f2b68..3b2c3d5bb 100644
--- a/docs/brew.1.html
+++ b/docs/brew.1.html
@@ -453,7 +453,7 @@ the <code>prefix</code> and <code>repository</code> are the same directory.</p><
<h2 id="DEVELOPER-COMMANDS">DEVELOPER COMMANDS</h2>
<dl>
-<dt><code>audit</code> [<code>--strict</code>] [<code>--online</code>] [<code>--new-formula</code>] [<code>--display-cop-names</code>] [<code>--display-filename</code>] [<var>formulae</var>]</dt><dd><p>Check <var>formulae</var> for Homebrew coding style violations. This should be
+<dt><code>audit</code> [<code>--strict</code>] [<code>--fix</code>] [<code>--online</code>] [<code>--new-formula</code>] [<code>--display-cop-names</code>] [<code>--display-filename</code>] [<var>formulae</var>]</dt><dd><p>Check <var>formulae</var> for Homebrew coding style violations. This should be
run before submitting a new formula.</p>
<p>If no <var>formulae</var> are provided, all of them are checked.</p>
@@ -461,6 +461,9 @@ run before submitting a new formula.</p>
<p>If <code>--strict</code> is passed, additional checks are run, including RuboCop
style checks.</p>
+<p>If <code>--fix</code> is passed, style violations will be
+automatically fixed using RuboCop's <code>--auto-correct</code> feature.</p>
+
<p>If <code>--online</code> is passed, additional slower checks that require a network
connection are run.</p>