Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/bash/devtools.in9
-rw-r--r--contrib/completion/zsh/_devtools.in10
2 files changed, 17 insertions, 2 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index 1fbd46c..f1084ab 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -337,6 +337,15 @@ _pkgctl_repo_switch_opts() {
fi
}
+_pkgctl_version_cmds=(
+ check
+)
+
+_pkgctl_version_check_args=(
+ -h --help
+)
+
+_pkgctl_version_check_opts() { _filedir -d; }
_pkgctl_repo_web_args=(
--print
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 5b51aff..575c327 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -277,7 +277,7 @@ _pkgctl_cmds=(
"release[Release step to commit, tag and upload build artifacts]"
"repo[Manage Git packaging repositories and their configuration]"
"search[Search for an expression across the GitLab packaging group]"
- "version[Show pkgctl version information]"
+ "version[Package version related commands]"
)
_pkgctl_args=(
@@ -285,8 +285,14 @@ _pkgctl_args=(
'(-h --help)'{-h,--help}'[Display usage]'
)
-_pkgctl_version_args=(
+_pkgctl_version_cmds=(
+ "pkgctl version command"
+ "check[Check if there is an new upstream version available]"
+)
+
+_pkgctl_version_check_args=(
'(-h --help)'{-h,--help}'[Display usage]'
+ '*:git_dir:_files -/'
)
_pkgctl_diff_args=("${_diffpkg_args[@]}")