diff options
| author | Mike McQuaid | 2014-06-26 09:24:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-06-26 09:24:07 +0100 |
| commit | f61633a0766bf9087214f595c0fa19ef38c48eef (patch) | |
| tree | 4dc2d644d47e717284e9d231238bc37544cf716d /Library/brew.rb | |
| parent | 7ecffd2771c64356824a71e975a2216bc64fd159 (diff) | |
| download | brew-f61633a0766bf9087214f595c0fa19ef38c48eef.tar.bz2 | |
brew: guard --help with nil cmd.
Diffstat (limited to 'Library/brew.rb')
| -rwxr-xr-x | Library/brew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb index e2f2f153e..3a9eccbbe 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -110,7 +110,7 @@ begin # Add contributed commands to PATH before checking. ENV['PATH'] += "#{File::PATH_SEPARATOR}#{HOMEBREW_CONTRIB}/cmd" - internal_cmd = require? HOMEBREW_LIBRARY_PATH.join("cmd", cmd) + internal_cmd = require? HOMEBREW_LIBRARY_PATH.join("cmd", cmd) if cmd # Usage instructions should be displayed if and only if one of: # - a help flag is passed AND an internal command is matched |
