summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command/_dscverify
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
commitb09f4483416c54c1782824633dfabaf2ec0265b6 (patch)
tree304bc82642862525ae680c7fbaa249663b10ad57 /Completion/Debian/Command/_dscverify
parent12eb3e5356f2fc3351eed58ef1cef1b8fb83b504 (diff)
parent6e55c920503071e917619b8cb1a188cd35d772db (diff)
downloadzsh-b09f4483416c54c1782824633dfabaf2ec0265b6.tar.gz
zsh-b09f4483416c54c1782824633dfabaf2ec0265b6.zip
New upstream version 5.8.1.2-test
Diffstat (limited to 'Completion/Debian/Command/_dscverify')
-rw-r--r--Completion/Debian/Command/_dscverify26
1 files changed, 26 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_dscverify b/Completion/Debian/Command/_dscverify
new file mode 100644
index 000000000..84b00e4e7
--- /dev/null
+++ b/Completion/Debian/Command/_dscverify
@@ -0,0 +1,26 @@
+#compdef dscverify
+
+# $ dscverify --version
+# This is dscverify, from the Debian devscripts package, version 2.20.2
+# ...
+
+local all_opts=(
+ '--help[show the help message and exit]'
+ '--version[show the version + copyright and exit]'
+ '--no-default-keyrings[do not check against the default keyrings]'
+ '*--keyring[add keyring to the list of keyrings used]:keyring:_files -g "*.(kbx|gpg)(-.)"'
+ '(--nosigcheck --no-sig-check -u)'{--nosigcheck,--no-sig-check,-u}"[don't verify the GPG signature]"
+ "--verbose[don't suppress GPG output]"
+ '*:dsc file:_files -g "*.(changes|dsc|buildinfo)(-.)"'
+)
+
+local first_only=(
+ '(--no-conf --noconf)'{--no-conf,--noconf}"[don't read the devscripts config file]"
+)
+
+if (( CURRENT == 2 )); then
+ all_opts+=( $first_only )
+fi
+
+_arguments \
+ "$all_opts[@]"