From 0998e16e81dfc27f878b972e5b0c30c89723b399 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Thu, 12 Oct 2017 11:20:04 -0300 Subject: [PATCH] Fix mistaken & I meant to verify that both a cmd and a help flag were received from the shell --- Library/Homebrew/brew.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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