From 883c58f75170c0c0354a5b8908b4e0cfaa29d948 Mon Sep 17 00:00:00 2001
From: Jack Nagel <jacknagel@gmail.com>
Date: Thu, 1 Sep 2011 22:49:41 -0500
Subject: [PATCH] Add the upgrade command to the man page

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
---
 Library/Contributions/manpages/brew.1.md | 5 +++++
 share/man/man1/brew.1                    | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 049fc4e2b2..9a7f50b018 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -233,6 +233,11 @@ For the full command list, see the COMMANDS section.
   * `update`:
     Fetch the newest version of Homebrew from GitHub using `git`(1).
 
+  * `upgrade` [<formulae>]:
+    Upgrade outdated brews.
+
+    If <formulae> are given, upgrade only the specified brews.
+
   * `uses [--installed]` <formula>:
     Show the formulas that specify <formula> as a dependency. The list is
     not recursive; only one level of dependencies is resolved.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index ea3618dd6c..9a940faa7c 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -259,6 +259,13 @@ Unsymlink \fIformula\fR from the Homebrew prefix\. This can be useful for tempor
 Fetch the newest version of Homebrew from GitHub using \fBgit\fR(1)\.
 .
 .TP
+\fBupgrade\fR [\fIformulae\fR]
+Upgrade outdated brews\.
+.
+.IP
+If \fIformulae\fR are given, upgrade only the specified brews\.
+.
+.TP
 \fBuses [\-\-installed]\fR \fIformula\fR
 Show the formulas that specify \fIformula\fR as a dependency\. The list is not recursive; only one level of dependencies is resolved\.
 .
-- 
GitLab