aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/update.sh')
-rw-r--r--Library/Homebrew/cmd/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 2c04664c3..a0c7cc7e7 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -1,3 +1,9 @@
+#: * `update` [`--rebase`]:
+#: Fetch the newest version of Homebrew and all formulae from GitHub using
+#: `git`(1).
+#:
+#: If `--rebase` is specified then `git pull --rebase` is used.
+
brew() {
"$HOMEBREW_BREW_FILE" "$@"
}