Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _dput



_dput comes from Tollef Fog Heen <tollef@xxxxxx>

Index: Completion/Debian/Command/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/.distfiles,v
retrieving revision 1.5
diff -u -r1.5 .distfiles
--- Completion/Debian/Command/.distfiles	2001/10/10 03:13:00	1.5
+++ Completion/Debian/Command/.distfiles	2001/11/15 19:33:56
@@ -1,5 +1,7 @@
 DISTFILES_SRC='
 .distfiles
-_apt	_bts	_bug  _debchange _dpkg       _dpkg_source  _dupload
+_apt
+_bts	_bug
+_debchange _dpkg       _dpkg_source  _dput  _dupload
 _update-alternatives
 '
Index: Completion/Debian/Command/_dput
===================================================================
RCS file: _dput
diff -N _dput
--- /dev/null	Thu May 24 22:33:05 2001
+++ _dput	Thu Nov 15 11:33:56 2001
@@ -0,0 +1,29 @@
+#compdef dput
+
+if (( ! $+_dput_sites )); then
+  _dput_sites=(
+$(grep "^\[" /etc/dput.cf | sed -e 's,\[,,g' -e 's,\],,g')
+)
+fi
+
+_arguments '(-c)--config[config file]:config file:' \
+           '(--config)-c[config file]:config file:' \
+           '(--debug)-d[debug mode]' \
+           '(-d)--debug[debug mode]' \
+           '(--dinstall)-D[run dinstall after upload]' \
+           '(-D)--dinstall[run dinstall after upload]' \
+           '(--force)-f[force upload of already uploaded package]' \
+           '(-f)--force[force upload of already uploaded package]' \
+           '(--lintian)-l[run lintian before upload]' \
+           '(-l)--lintian[run lintian before upload]' \
+           '(-o)--check-only[check the package, do not upload]' \
+           '(--check-only)-o[check the package, do not upload]' \
+           '(--print)-p[print configuration]' \
+           '(-p)--print[print configuration]' \
+           '(--simulate)-s[simulate an upload only]' \
+           '(-s)--simulate[simulate an upload only]' \
+           '(--unchecked)-u[do not check GPG signature on the changes file]' \
+           '(-u)--unchecked[do not check GPG signature on the changes file]' \
+           '(-v)--version[version]' \
+           '(--version)-v[version]' \
+           '*:changes file:_files -g \*.changes' \



Messages sorted by: Reverse Date, Date, Thread, Author