cli_parser: undefine OpenStruct instance tap.
Undefine `tap` to allow `--tap` arguments to work as expected.
This commit is contained in:
parent
c73e873893
commit
daf118971c
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user