diff options
| author | Roberto Nibali | 2015-02-05 22:05:02 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-02-06 08:19:35 +0000 | 
| commit | bd7ab0c12c093ddc21d687d10d3ce601be2e945c (patch) | |
| tree | ba2bd883ebeb36cfed052396038820876d91116a | |
| parent | 72bf77257c9daf0533a43e88e35c0feafa7e7580 (diff) | |
| download | homebrew-bd7ab0c12c093ddc21d687d10d3ce601be2e945c.tar.bz2 | |
brew.rb: fix help regex.
Don't match `help` at the end of every string because `brew installhelp`
shouldn't really be running help.
Closes #36559.
Closes #36576.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -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 843853335..423580756 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -82,7 +82,7 @@ begin               }    empty_argv = ARGV.empty? -  help_regex = /(-h$|--help$|--usage$|-\?$|help$)/ +  help_regex = /(-h$|--help$|--usage$|-\?$|^help$)/    help_flag = false    cmd = nil | 
