From 31ce953f6911f9ad2e64311b9e0237f448ff3559 Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sun, 9 Apr 2017 11:02:05 -0400 Subject: [PATCH] formula: conflicts_with doc: give realistic :because The documentation should help a developer understand what the parameter is for. "stupid example" doesn't cut it. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 523de244df..d544bd6687 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2340,7 +2340,7 @@ class Formula end # If this formula conflicts with another one. - #
conflicts_with "imagemagick", :because => "because this is just a stupid example"
+ #
conflicts_with "imagemagick", :because => "because both install 'convert' binaries"
def conflicts_with(*names) opts = names.last.is_a?(Hash) ? names.pop : {} names.each { |name| conflicts << FormulaConflict.new(name, opts[:because]) }