aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGautham Goli2017-01-18 22:37:11 +0530
committerGautham Goli2017-02-06 12:46:26 +0530
commit1f5cf4fd40fc3528e700a421afc9a128c159cac9 (patch)
tree7384dc153607f2bba38bf046c857c92eaa3e421b /docs
parent0b3d9031e26b47d0ebf48276616c1c4da01ce336 (diff)
downloadbrew-1f5cf4fd40fc3528e700a421afc9a128c159cac9.tar.bz2
Update docs and manpages to include --fix option
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 2e036eb55..2e89a1933 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>