about summary refs log tree commit diff
path: root/Completion/Debian/_dupload
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-01 18:16:07 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-01 18:16:07 +0000
commite1eeb933451b8781c9ecfb2ee3c575ff2bcc383b (patch)
tree651e6dbbef3b48c127fb6dd6dc60480b278416b0 /Completion/Debian/_dupload
parent81516a7771d74b0e0c4f2b838fb5c0942fe16083 (diff)
downloadzsh-e1eeb933451b8781c9ecfb2ee3c575ff2bcc383b.tar.gz
zsh-e1eeb933451b8781c9ecfb2ee3c575ff2bcc383b.tar.xz
zsh-e1eeb933451b8781c9ecfb2ee3c575ff2bcc383b.zip
Initial revision
Diffstat (limited to 'Completion/Debian/_dupload')
-rw-r--r--Completion/Debian/_dupload26
1 files changed, 26 insertions, 0 deletions
diff --git a/Completion/Debian/_dupload b/Completion/Debian/_dupload
new file mode 100644
index 000000000..85d294c71
--- /dev/null
+++ b/Completion/Debian/_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' \