mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew.sh: improve brew tap
handling
This commit is contained in:
parent
ea011ae528
commit
c17154d2ac
@ -172,9 +172,11 @@ case "$@" in
|
|||||||
source "${HOMEBREW_LIBRARY}/Homebrew/list.sh"
|
source "${HOMEBREW_LIBRARY}/Homebrew/list.sh"
|
||||||
homebrew-list "$@" && exit 0
|
homebrew-list "$@" && exit 0
|
||||||
;;
|
;;
|
||||||
|
# homebrew-tap only handles invocations with no arguments
|
||||||
tap)
|
tap)
|
||||||
source "${HOMEBREW_LIBRARY}/Homebrew/tap.sh"
|
source "${HOMEBREW_LIBRARY}/Homebrew/tap.sh"
|
||||||
homebrew-tap "$@" && exit 0
|
homebrew-tap "$@"
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
# falls back to cmd/help.rb on a non-zero return
|
# falls back to cmd/help.rb on a non-zero return
|
||||||
help | --help | -h | --usage | "-?" | "")
|
help | --help | -h | --usage | "-?" | "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user