Exception: Homebrew::CLI::OptionConflictError Private
- Inherits:
-
UsageError
- Object
- RuntimeError
- UsageError
- Homebrew::CLI::OptionConflictError
- Defined in:
- cli/parser.rb
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Instance Attribute Summary
Attributes inherited from UsageError
Instance Method Summary collapse
- #initialize(args) ⇒ void constructor private
Constructor Details
#initialize(args) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
754 755 756 757 |
# File 'cli/parser.rb', line 754 def initialize(args) args_list = args.map { Formatter.option(_1) }.join(" and ") super "Options #{args_list} are mutually exclusive." end |