aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-22 08:58:11 -0700
committerAdam Vandenberg2010-09-29 22:01:08 -0700
commitf50f2f8d52946f97f56d0a1131fa3c1b5c2863e1 (patch)
treea1b6ffdcfe0d5a25dbba0ba8af2a427bcdacd89f /bin
parent8eaa812711ef73597e2287222393b5630dc6a7d8 (diff)
downloadbrew-f50f2f8d52946f97f56d0a1131fa3c1b5c2863e1.tar.bz2
Tweak unknown command message
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/brew b/bin/brew
index 1fac965bd..d29dff9a1 100755
--- a/bin/brew
+++ b/bin/brew
@@ -316,10 +316,10 @@ begin
end
# Check for git commands
- if ['branch', 'checkout', 'pull', 'push', 'rebase', 'reset'].include? arg
- onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
+ if %w(branch checkout pull push rebase reset).include? arg
+ onoe "Unknown command '#{arg}' (did you mean 'git #{arg}'?)"
else
- onoe "Unknown command: #{arg}"
+ onoe "Unknown command '#{arg}'"
end
end