summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:22:41 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:22:41 +0000
commitf242fca48eafda8f0153ae17c8d6970ede9507c5 (patch)
treef2bc3492900acd9d00e5dfb3742e97e6d09992dc /Completion/Debian
parent04a54118c9937f520f1bcfaf2d89030ceb5c58e3 (diff)
downloadzsh-f242fca48eafda8f0153ae17c8d6970ede9507c5.tar.gz
zsh-f242fca48eafda8f0153ae17c8d6970ede9507c5.tar.xz
zsh-f242fca48eafda8f0153ae17c8d6970ede9507c5.zip
moved from Completion/Debian/_dupload
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/_dupload26
1 files changed, 26 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_dupload b/Completion/Debian/Command/_dupload
new file mode 100644
index 000000000..85d294c71
--- /dev/null
+++ b/Completion/Debian/Command/_dupload
@@ -0,0 +1,26 @@
+#compdef dupload
+
+if (( ! $+_dupload_sites )); then
+  _dupload_sites=(
+$(grep "^\$cfg" /etc/dupload.conf | sed 's/^\$cfg{\(.*\)}.*$/\1/')
+)
+fi
+
+_arguments '--to:nickname[nickname of target site]:('"$_dupload_sites"')' \
+           '(--debug)-d[ftp verbosity]:debuglevel:' \
+           '(-d)--debug[ftp verbosity]:debuglevel:' \
+           '(--force)-f[upload ignoring logs]' \
+           '(-f)--force[upload ignoring logs]' \
+           '(--keep)-k[keep going, skip broken]' \
+           '(-k)--keep[keep going, skip broken]' \
+           '--no[dry run]' \
+           '--nomail[suppress announcement]' \
+           '--mailonly[dry run and real announcement]' \
+           '--noarchive[add anti-archival header]' \
+           '(--print)-p[print config legibly]' \
+           '(-p)--print[print config legibly]' \
+           '(--quiet)-q[quiet]' \
+           '(-q)--quiet[quiet]' \
+           '(--Version)-V[version]' \
+           '(-V)--Version[version]' \
+           '*:changes file:_files -g \*.changes' \