aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/brew2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 6440c3956..cc76f78f9 100755
--- a/bin/brew
+++ b/bin/brew
@@ -84,8 +84,10 @@ begin
# Check for git commands
if %w[branch checkout pull push rebase reset].include? cmd
onoe "Unknown command: #{cmd} (did you mean `git #{cmd}'?)"
+ exit 1
else
onoe "Unknown command: #{cmd}"
+ exit 1
end
end