summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-08-30 22:01:55 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-08-30 22:01:55 +0200
commit2a4475bbba3adf67ae6e95dc489ca41d0062483f (patch)
treebe2fec1a3c0487b62b16402c1a73135fe00ccb78 /Completion/Debian/Command
parenta90fb9402a5652391f57e1838399f700ca9a4a4e (diff)
parent11189c6df725d682a5b0759f83d0bd5afc0e330a (diff)
downloadzsh-2a4475bbba3adf67ae6e95dc489ca41d0062483f.tar.gz
zsh-2a4475bbba3adf67ae6e95dc489ca41d0062483f.zip
Merge tag 'zsh-5.1' into debian
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/_debcheckout21
1 files changed, 21 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_debcheckout b/Completion/Debian/Command/_debcheckout
new file mode 100644
index 000000000..3e6d5df7d
--- /dev/null
+++ b/Completion/Debian/Command/_debcheckout
@@ -0,0 +1,21 @@
+#compdef debcheckout
+
+# The helpstrings use the term 'checkout' (rather than 'clone' or 'branch' or
+# 'fork') to be consistent with the name of the tool.
+
+local -a args=(
+'(-a --auth)'{-a,--auth}'[rewrite anonymous checkout URLs to authenticated ones]'
+'(-p --print -d --details)'{-d,--details}'[print detailed information; do not checkout]'
+'(-h --help)'{-h,--help}'[show usage message]'
+'(-p --print -d --details)'{-p,--print}'[print summary information; do not checkout]'
+'(-P --package)'{-P+,--package=}'[specify package name explicitly (when target is a URL)]:package name:_deb_packages available'
+'(-t --type)'{-t+,--type=}'[specify repository type]:repository type:((arch\:Arch bzr\:Bazaar cvs\:CVS darcs\:Darcs git\:Git hg\:Mercurial svn\:Subversion))'
+'(-u --username)'{-u+,--username=}'[specify username (implies --auth)]:username: '
+\*{-f+,--file=}'[extract named file]:remote filename'
+'--source=:policy for .orig.tar.gz file:(never auto download-only always)'
+'--git-track=[specify branches to track]:branches (separated by spaces) or '\'\*\'
+'1:package or URL: _alternative "_deb_packages available" "_urls"'
+'2::destination directory:_path_files -/'
+)
+
+_arguments -s -S : "$args[@]"