zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _dpkg-buildpackage
@ 2007-09-30 17:21 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-09-30 17:21 UTC (permalink / raw)
  To: zsh-workers

gpg secret key completion could be factored out and used for -k.  -v
could use parsing out all the versions from debian/changelog.
That architecture list is proliferating inconsistently.

Index: Completion/Debian/Command/_dpkg-buildpackage
===================================================================
RCS file: Completion/Debian/Command/_dpkg-buildpackage
diff -N Completion/Debian/Command/_dpkg-buildpackage
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Debian/Command/_dpkg-buildpackage	30 Sep 2007 17:19:15 -0000
@@ -0,0 +1,28 @@
+#compdef dpkg-buildpackage
+
+_arguments \
+  '-b[binary-only build, no source]' \
+  '-B[binary-only build, no source or arch-indep binaries]' \
+  '-S[source-only build, no binaries]' \
+  '-s-:source generation:((i\:default a\:force\ inclusion\ of\ original\ source d\:force\ exclusion\ of\ original\ source))' \
+  '-a-:architecture:(alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc)' \
+  '-v-:version:' \
+  '-C-:changes description:_files' \
+  '-m-:maintainer address:_email_addresses' \
+  '-e-:maintainer address:_email_addresses' \
+  '(-d)-D[check build dependencies and conflicts]' \
+  '(-D)-d[do not check build dependencies and conflicts]' \
+  '-W[turn certain errors into warnings]' \
+  '-E[negates previously-set -W]' \
+  '-nc[do not clean source tree]' \
+  '-tc[clean the source tree after build]' \
+  '-r-:gain-root command: _command_names -e' \
+  '-p-:sign command: _command_names -e' \
+  '-k-:key ID:' \
+  '-us[do not sign source package]' \
+  '-uc[do not sign .changes file]' \
+  '*-i-:ignore regexp:' \
+  '*-I-:ignore filename:_files' \
+  '--admindir=:dpkg database dir:_files -/' \
+  '(-h --help)'{-h,--help}'[show usage message]' \
+  '--version[show version]'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-30 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-30 17:21 PATCH: _dpkg-buildpackage Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).