diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index 3c561e8573..e74e65978b 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -44,7 +44,7 @@ begin help_flag = true elsif !cmd && !help_flag_list.include?(arg) cmd = ARGV.delete_at(i) - elsif help_flag_list.include?(arg) & cmd + elsif help_flag_list.include?(arg) && cmd # cmd determined, and it needs help help_flag = true end