about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-09-30 17:24:08 +0000
committerClint Adams <clint@users.sourceforge.net>2007-09-30 17:24:08 +0000
commit930f7f2c5387d7c35c71e2642bf6a837ffd698c1 (patch)
treee98448e216c034478601a12c0251b923006f74a1
parent855d0d2d66af027087143b3a12a205546ace85ab (diff)
downloadzsh-930f7f2c5387d7c35c71e2642bf6a837ffd698c1.tar.gz
zsh-930f7f2c5387d7c35c71e2642bf6a837ffd698c1.tar.xz
zsh-930f7f2c5387d7c35c71e2642bf6a837ffd698c1.zip
23867: completion for dpkg-buildpackage.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Debian/Command/_dpkg-buildpackage28
2 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 992a7735d..d37e2a26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-09-30  Clint Adams  <clint@zsh.org>
 
+	* 23867: Completion/Debian/Command/_dpkg-buildpackage: completion
+	for dpkg-buildpackage.
+
 	* 23863: Completion/Linux/Command/_lsusb: completion
 	for lsusb.
 
diff --git a/Completion/Debian/Command/_dpkg-buildpackage b/Completion/Debian/Command/_dpkg-buildpackage
new file mode 100644
index 000000000..d6f5c5f0a
--- /dev/null
+++ b/Completion/Debian/Command/_dpkg-buildpackage
@@ -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]'