From fb04179fd870094986ae539eb68d5002851c2727 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 21 Feb 2025 19:40:15 +0000 Subject: [PATCH] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 25 +++++++++++++------------ docs/Manpage.md | 4 ++++ manpages/brew.1 | 3 +++ 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index 91c384f483..704a02b4a5 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -816,6 +816,7 @@ _brew_create() { --set-version --tap --verbose + --zig " return ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 50b7da926f..1a00fe99aa 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -592,6 +592,7 @@ __fish_brew_complete_arg 'create' -l set-name -d 'Explicitly set the name of the __fish_brew_complete_arg 'create' -l set-version -d 'Explicitly set the version of the new formula or cask' __fish_brew_complete_arg 'create' -l tap -d 'Generate the new formula within the given tap, specified as user`/`repo' __fish_brew_complete_arg 'create' -l verbose -d 'Make some output more verbose' +__fish_brew_complete_arg 'create' -l zig -d 'Create a basic template for a Zig build' __fish_brew_complete_cmd 'debugger' 'Run the specified Homebrew command in debug mode' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 21582179ad..8213c5fb53 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -740,27 +740,28 @@ _brew_contributions() { _brew_create() { _arguments \ '(--cask)--HEAD[Indicate that URL points to the package'\''s repository rather than a file]' \ - '(--cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--autotools[Create a basic template for an Autotools-style build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --HEAD --set-license)--cask[Create a basic template for a cask]' \ - '(--autotools --crystal --go --meson --node --perl --python --ruby --rust --cask)--cmake[Create a basic template for a CMake-style build]' \ - '(--autotools --cmake --go --meson --node --perl --python --ruby --rust --cask)--crystal[Create a basic template for a Crystal build]' \ + '(--cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--autotools[Create a basic template for an Autotools-style build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --HEAD --set-license)--cask[Create a basic template for a cask]' \ + '(--autotools --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--cmake[Create a basic template for a CMake-style build]' \ + '(--autotools --cmake --go --meson --node --perl --python --ruby --rust --zig --cask)--crystal[Create a basic template for a Crystal build]' \ '--debug[Display any debugging information]' \ '--force[Ignore errors for disallowed formula names and names that shadow aliases]' \ - '(--autotools --cmake --crystal --meson --node --perl --python --ruby --rust --cask)--go[Create a basic template for a Go build]' \ + '(--autotools --cmake --crystal --meson --node --perl --python --ruby --rust --zig --cask)--go[Create a basic template for a Go build]' \ '--help[Show this message]' \ - '(--autotools --cmake --crystal --go --node --perl --python --ruby --rust --cask)--meson[Create a basic template for a Meson-style build]' \ + '(--autotools --cmake --crystal --go --node --perl --python --ruby --rust --zig --cask)--meson[Create a basic template for a Meson-style build]' \ '--no-fetch[Homebrew will not download URL to the cache and will thus not add its SHA-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)]' \ - '(--autotools --cmake --crystal --go --meson --perl --python --ruby --rust --cask)--node[Create a basic template for a Node build]' \ - '(--autotools --cmake --crystal --go --meson --node --python --ruby --rust --cask)--perl[Create a basic template for a Perl build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --ruby --rust --cask)--python[Create a basic template for a Python build]' \ + '(--autotools --cmake --crystal --go --meson --perl --python --ruby --rust --zig --cask)--node[Create a basic template for a Node build]' \ + '(--autotools --cmake --crystal --go --meson --node --python --ruby --rust --zig --cask)--perl[Create a basic template for a Perl build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --ruby --rust --zig --cask)--python[Create a basic template for a Python build]' \ '--quiet[Make some output more quiet]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --rust --cask)--ruby[Create a basic template for a Ruby build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --cask)--rust[Create a basic template for a Rust build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --rust --zig --cask)--ruby[Create a basic template for a Ruby build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --zig --cask)--rust[Create a basic template for a Rust build]' \ '(--cask)--set-license[Explicitly set the license of the new formula]' \ '--set-name[Explicitly set the name of the new formula or cask]' \ '--set-version[Explicitly set the version of the new formula or cask]' \ '--tap[Generate the new formula within the given tap, specified as user`/`repo]' \ - '--verbose[Make some output more verbose]' + '--verbose[Make some output more verbose]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--zig[Create a basic template for a Zig build]' } # brew debugger diff --git a/docs/Manpage.md b/docs/Manpage.md index e799be7bf4..cc4dfef347 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2154,6 +2154,10 @@ see: : Create a basic template for a Rust build. +`--zig` + +: Create a basic template for a Zig build. + `--no-fetch` : Homebrew will not download *`URL`* to the cache and will thus not add its diff --git a/manpages/brew.1 b/manpages/brew.1 index d4567eb9ca..92da0cabe2 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1368,6 +1368,9 @@ Create a basic template for a Ruby build\. \fB\-\-rust\fP Create a basic template for a Rust build\. .TP +\fB\-\-zig\fP +Create a basic template for a Zig build\. +.TP \fB\-\-no\-fetch\fP Homebrew will not download \fIURL\fP to the cache and will thus not add its SHA\-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)\. .TP