Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion/zsh/_devtools.in
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-04-15 19:44:22 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:13 +0200
commited966351410b39bfcec749df59dbc434a5dade1e (patch)
treee32d30d3bc2f14d5bc2b3b19b71491034a228a3a /contrib/completion/zsh/_devtools.in
parentf961e2e94803dd46c4fa5941eb15a7d4612bd0f0 (diff)
pkgctl repo: introduce the switch subcommand
Signed-off-by: Christian Heusel <christian@heusel.eu> Co-Authored-By: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib/completion/zsh/_devtools.in')
-rw-r--r--contrib/completion/zsh/_devtools.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 20c37ce..5760458 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -94,9 +94,17 @@ _pkgctl_repo_cmds=(
"clone[Clone a package repository]"
"configure[Configure a clone according to distro specs]"
"create[Create a new GitLab package repository]"
+ "switch[Switch a package repository to a specified version]"
"web[Open the packaging repository's website]"
)
+_pkgctl_repo_switch_args=(
+ '(-f --force --discard-changes)'{-f,--force,--discard-changes}'[Discard changes if index or working tree is dirty]'
+ '(-h --help)'{-h,--help}'[Display usage]'
+ '1:version'
+ '*:git_dir:_files -/'
+)
+
_pkgctl_repo_clone_args=(
'(-m --maintainer=)'{-m,--maintainer=}'[Clone all packages of the named maintainer]:maintainer:'
'--universe[Clone all existing packages, useful for cache warming]'