diff options
| author | Max Howell | 2009-10-26 18:22:22 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-07 18:22:33 +0000 |
| commit | e587c68a2acd5222b4ec0a5ed0facf74365ebabb (patch) | |
| tree | 7efedd950ce8d6243ece27dbe639d45d11092f95 | |
| parent | 3d89578b5cffb4b5050f284917800912872858d9 (diff) | |
| download | brew-e587c68a2acd5222b4ec0a5ed0facf74365ebabb.tar.bz2 | |
Better error for unknown brew commands
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ case ARGV.first when '--cache' puts HOMEBREW_CACHE exit 0 -when '-h', '--help', '--usage', '-?' +when '-h', '--help', '--usage', '-?', nil puts ARGV.usage exit 0 when '--version' @@ -221,7 +221,7 @@ begin exec "git", "log", ARGV.formulae.first.path, *ARGV.options else - puts ARGV.usage + onoe "Unknown command: #{arg}" end rescue FormulaUnspecifiedError |
