Add missing conflicts to command options.
This commit is contained in:
parent
9eabcdad7d
commit
867b155479
@ -98,6 +98,7 @@ module Homebrew
|
||||
"debugging the `--installed`/`--all` display mode."
|
||||
switch :verbose
|
||||
switch :debug
|
||||
conflicts "--installed", "--all"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -79,6 +79,7 @@ module Homebrew
|
||||
switch :verbose,
|
||||
description: "See more verbose analytics data."
|
||||
switch :debug
|
||||
conflicts "--all", "--installed"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -29,6 +29,7 @@ module Homebrew
|
||||
switch "--installed",
|
||||
description: "Show options for all installed formulae."
|
||||
switch :debug
|
||||
conflicts "--all", "--installed"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -34,6 +34,7 @@ module Homebrew
|
||||
switch :force
|
||||
switch :verbose
|
||||
switch :debug
|
||||
conflicts "--git", "--patch"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -59,6 +59,7 @@ module Homebrew
|
||||
switch "--HEAD",
|
||||
description: "Show usage of <formulae> by HEAD build."
|
||||
switch :debug
|
||||
conflicts "--devel", "--HEAD"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -104,6 +104,7 @@ module Homebrew
|
||||
switch :quiet
|
||||
switch :verbose
|
||||
switch :debug
|
||||
conflicts "--no-audit", "--strict"
|
||||
conflicts "--url", "--tag"
|
||||
end
|
||||
end
|
||||
|
||||
@ -59,6 +59,7 @@ module Homebrew
|
||||
switch :force
|
||||
switch :verbose
|
||||
switch :debug
|
||||
conflicts "--autotools", "--cmake", "--meson"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -41,6 +41,7 @@ module Homebrew
|
||||
description: "Keep the temporary files created for the test."
|
||||
switch :verbose
|
||||
switch :debug
|
||||
conflicts "--devel", "--HEAD"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user