aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-01-11 20:26:08 +0000
committerMike McQuaid2014-01-11 20:26:08 +0000
commit0106cfdefff71293320c20a6bf18033bdf53aa08 (patch)
tree17ef13647315f9ae27dab82aa6c9bf914e438c07
parent9259b450f81dd6c7319eddc4addb1478a8bba500 (diff)
downloadbrew-0106cfdefff71293320c20a6bf18033bdf53aa08.tar.bz2
man: add reinstall command.
-rw-r--r--Library/Contributions/manpages/brew.1.md3
-rw-r--r--share/man/man1/brew.14
2 files changed, 7 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 84011e323..e21ec60b3 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -275,6 +275,9 @@ Note that these flags should only appear after a command.
Remove dead symlinks from the Homebrew prefix. This is generally not
needed, but can be useful when doing DIY installations.
+ * `reinstall` <formula>:
+ Uninstall then install <formula>
+
* `rm`, `remove`, `uninstall [--force]` <formula>:
Uninstall <formula>.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index f4878c7eb..0f88edf4b 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -300,6 +300,10 @@ Pin the specified \fIformulae\fR, preventing them from being upgraded when issui
Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\.
.
.TP
+\fBreinstall\fR \fIformula\fR
+Uninstall then install \fIformula\fR
+.
+.TP
\fBrm\fR, \fBremove\fR, \fBuninstall [\-\-force]\fR \fIformula\fR
Uninstall \fIformula\fR\.
.