Add missing conflicts to command options.

This commit is contained in:
Mike McQuaid 2019-01-29 19:39:41 +00:00
parent 9eabcdad7d
commit 867b155479
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
14 changed files with 17 additions and 0 deletions

View File

@ -98,6 +98,7 @@ module Homebrew
"debugging the `--installed`/`--all` display mode."
switch :verbose
switch :debug
conflicts "--installed", "--all"
end
end

View File

@ -37,6 +37,7 @@ module Homebrew
description: "Search just the descriptions for provided <text>. If <text> is flanked by slashes, "\
"it is interpreted as a regular expression."
switch :verbose
conflicts "--search=", "--name=", "--description="
end
end

View File

@ -60,6 +60,8 @@ module Homebrew
"even if it would not be used during installation."
switch :verbose
switch :debug
conflicts "--devel", "--HEAD"
conflicts "--build-from-source", "--build-bottle", "--force-bottle"
end
end

View File

@ -79,6 +79,7 @@ module Homebrew
switch :verbose,
description: "See more verbose analytics data."
switch :debug
conflicts "--all", "--installed"
end
end

View File

@ -146,6 +146,9 @@ module Homebrew
"package into a Homebrew package."
switch "-g", "--git",
description: "Create a Git repository, useful for creating patches to the software."
conflicts "--ignore-dependencies", "--only-dependencies"
conflicts "--devel", "--HEAD"
conflicts "--build-from-source", "--build-bottle", "--force-bottle"
formula_options
end
end

View File

@ -29,6 +29,7 @@ module Homebrew
switch "--installed",
description: "Show options for all installed formulae."
switch :debug
conflicts "--all", "--installed"
end
end

View File

@ -46,6 +46,7 @@ module Homebrew
"formula is outdated. Otherwise, the repository's HEAD will be checked for "\
"updates when a new stable or devel version has been released."
switch :debug
conflicts "--quiet", "--verbose", "--json="
end
end

View File

@ -60,6 +60,7 @@ module Homebrew
description: "Print the verification and postinstall steps."
switch "--display-times",
description: "Print install times for each formula at the end of the run."
conflicts "--build-from-source", "--force-bottle"
formula_options
end
end

View File

@ -34,6 +34,7 @@ module Homebrew
switch :force
switch :verbose
switch :debug
conflicts "--git", "--patch"
end
end

View File

@ -81,6 +81,7 @@ module Homebrew
description: "Print the verification and postinstall steps."
switch "--display-times",
description: "Print install times for each formula at the end of the run."
conflicts "--build-from-source", "--force-bottle"
formula_options
end
end

View File

@ -59,6 +59,7 @@ module Homebrew
switch "--HEAD",
description: "Show usage of <formulae> by HEAD build."
switch :debug
conflicts "--devel", "--HEAD"
end
end

View File

@ -104,6 +104,7 @@ module Homebrew
switch :quiet
switch :verbose
switch :debug
conflicts "--no-audit", "--strict"
conflicts "--url", "--tag"
end
end

View File

@ -59,6 +59,7 @@ module Homebrew
switch :force
switch :verbose
switch :debug
conflicts "--autotools", "--cmake", "--meson"
end
end

View File

@ -41,6 +41,7 @@ module Homebrew
description: "Keep the temporary files created for the test."
switch :verbose
switch :debug
conflicts "--devel", "--HEAD"
end
end