Add deprecation paths for tap --full/--shallow

This commit is contained in:
cnnrmnn 2021-05-07 09:29:19 -04:00
parent 6e1345b899
commit b5a7337b05

View File

@ -27,6 +27,13 @@ module Homebrew
assumptions, so taps can be cloned from places other than GitHub and
using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync.
EOS
# odeprecated "brew tap --full"
switch "--full",
description: "Convert a shallow clone to a full clone without untapping. Taps are only cloned as "\
"shallow clones if `--shallow` was originally passed."
# odeprecated "brew tap --shallow"
switch "--shallow",
description: "Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration."
switch "--force-auto-update",
description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\
"hosted on GitHub are auto-updated (for performance reasons)."