aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2016-01-20 15:41:10 +0800
committerXu Cheng2016-01-21 21:14:55 +0800
commitbb5cf70a02e14480408908c998add40193b6bcf9 (patch)
tree99d80efed5d568fcce333eb62e337b90b9052877
parent89f97295b824adb7c92ef7b78c2771d792362ee5 (diff)
downloadbrew-bb5cf70a02e14480408908c998add40193b6bcf9.tar.bz2
update-bash: fix incorrect argument parsing
-rwxr-xr-xLibrary/Homebrew/cmd/update-bash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update-bash.sh b/Library/Homebrew/cmd/update-bash.sh
index 83355202b..b67e3d6e2 100755
--- a/Library/Homebrew/cmd/update-bash.sh
+++ b/Library/Homebrew/cmd/update-bash.sh
@@ -198,7 +198,7 @@ update-bash() {
--simulate-from-current-branch) HOMEBREW_SIMULATE_FROM_CURRENT_BRANCH=1 ;;
--*) ;;
-*v*) HOMEBREW_VERBOSE=1 ;;
- -*v*) HOMEBREW_DEBUG=1 ;;
+ -*d*) HOMEBREW_DEBUG=1 ;;
-*) ;;
*)
echo "This command updates brew itself, and does not take formula names." >&2