Merge pull request #7511 from rwhogg/tap-pin-command-explanation

docs: Update tap-pin and tap-unpin disable explanations
This commit is contained in:
Mike McQuaid 2020-05-06 14:27:00 +01:00 committed by GitHub
commit 61b98a5e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ module Homebrew
end
def tap_pin
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-pin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
end

View File

@ -12,7 +12,7 @@ module Homebrew
end
def tap_unpin
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-unpin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
end

View File

@ -491,8 +491,8 @@ module Formulary
if possible_pinned_tap_formulae.size == 1
selected_formula = factory(possible_pinned_tap_formulae.first, spec)
if core_path(ref).file?
odisabled "brew tap-pin user/tap",
"fully-scoped user/tap/formula naming"
odisabled "the brew tap-pin command",
"fully-scoped user/tap/formula naming when installing and in dependency references"
end
selected_formula
else