diff --git a/Library/Homebrew/cli_parser.rb b/Library/Homebrew/cli_parser.rb index e487e8580a..01310d42e3 100644 --- a/Library/Homebrew/cli_parser.rb +++ b/Library/Homebrew/cli_parser.rb @@ -126,7 +126,7 @@ module Homebrew begin remaining_args = @parser.parse(cmdline_args) rescue OptionParser::InvalidOption => e - puts generate_help_text + $stderr.puts generate_help_text raise e end check_constraint_violations