Skip to content
Snippets Groups Projects
Commit daf11897 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

cli_parser: undefine OpenStruct instance tap.

Undefine `tap` to allow `--tap` arguments to work as expected.
parent c73e8738
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@ module Homebrew
def initialize(&block)
@parser = OptionParser.new
@parsed_args = OpenStruct.new
# undefine tap to allow --tap argument
@parsed_args.instance_eval { undef tap }
instance_eval(&block)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment