about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_dpkg-repack7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5dafa122e..ea33f8399 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-26  Clint Adams  <clint@zsh.org>
+
+	* 24022: Completion/Debian/Command/_dpkg-repack: completion for
+	dpkg-repack by Dr. Markus Waldeck, tweaked a bit.
+
 2007-10-25  Peter Stephenson  <pws@csr.com>
 
 	* c.f. users/12110: Doc/Zsh/params.yo: desperately try to
diff --git a/Completion/Debian/Command/_dpkg-repack b/Completion/Debian/Command/_dpkg-repack
new file mode 100644
index 000000000..5d625a5ce
--- /dev/null
+++ b/Completion/Debian/Command/_dpkg-repack
@@ -0,0 +1,7 @@
+#compdef dpkg-repack
+
+_arguments \
+  '--root=[take package from filesystem rooted on <dir>]:root dir:_files -/' \
+  '--arch=[force the package to be built for architecture <arch>]:architecture:(alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc)' \
+  '--generate[generate build directory but do not build deb]' \
+  '*:package:_deb_packages xinstalled'