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
commiteedaa0d2f0e5707f2e43dd7f94b34883405cf25e (patch)
treecc84cc6f1ff3f419ee43a3f21a450c8f1da8979d /bin
parent82b97f56319080f4cb522c446c4c72230163b7af (diff)
downloadhomebrew-eedaa0d2f0e5707f2e43dd7f94b34883405cf25e.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