aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2016-05-02 17:58:41 +0800
committerXu Cheng2016-05-02 17:58:41 +0800
commit3b40dcedf8ee2f6809897e812b5867cf1efeb043 (patch)
tree06cd67f5a270119308b1174524796b957c8cf167
parent0812b721bdff1ef85cab4296f7a7b1f3332954b3 (diff)
downloadbrew-3b40dcedf8ee2f6809897e812b5867cf1efeb043.tar.bz2
update: more help flag (#180)
To be synced with the help flag list in brew.rb
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 29206b37f..abd9df214 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -234,7 +234,7 @@ homebrew-update() {
for option in "$@"
do
case "$option" in
- --help) brew help update; exit $? ;;
+ -?|-h|--help|--usage) brew help update; exit $? ;;
--verbose) HOMEBREW_VERBOSE=1 ;;
--debug) HOMEBREW_DEBUG=1;;
--merge) HOMEBREW_MERGE=1 ;;