about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-12-10 15:27:34 +0000
committerClint Adams <clint@users.sourceforge.net>2005-12-10 15:27:34 +0000
commitd06bc82c932b14a6750b1e06649513082ff6351a (patch)
tree0ca6c076f4153086764e9e5088322c46e3fd6fac
parent55fd2f485e8ef62c807be30df50cc5aff1209eee (diff)
downloadzsh-d06bc82c932b14a6750b1e06649513082ff6351a.tar.gz
zsh-d06bc82c932b14a6750b1e06649513082ff6351a.tar.xz
zsh-d06bc82c932b14a6750b1e06649513082ff6351a.zip
22068: completion for debdiff.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_debdiff22
2 files changed, 27 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5714facdc..c532d86bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-10  Clint Adams  <clint@zsh.org>
+
+	* 22068: Completion/Debian/Command/_debdiff: completion
+	for debdiff.
+
 2005-12-09  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Src/Modules/newuser.c: fixed return-without-value
diff --git a/Completion/Debian/Command/_debdiff b/Completion/Debian/Command/_debdiff
new file mode 100644
index 000000000..de7b9b9c8
--- /dev/null
+++ b/Completion/Debian/Command/_debdiff
@@ -0,0 +1,22 @@
+#compdef debdiff
+
+_arguments \
+  '(-d --dirs)'{-d,--dirs}'[do not ignore directories]' \
+  '--nodirs[ignore directories]' \
+  '(-m --move)'{-m,--move}':movement:_files' \
+  '--move-regex:movement:_files' \
+  '--nocontrol[do not compare control files]' \
+  '--control[compare control files]' \
+  '--wp[pass -p to wdiff]' \
+  '--wl[pass -l to wdiff]' \
+  '--wt[pass -t to wdiff]' \
+  '--show-moved[show movements between packages]' \
+  '--noshow-moved[do not show movements between packages]' \
+  '--renamed:package:_deb_packages avail' \
+  '(--no-conf --noconf)'{--no-conf,--noconf}'[do not read any config files]' \
+  '(-h --help)'{-h,--help}'[show help]' \
+  '(-v --version)'{-v,--version}'[show version]' \
+  '(-q --quiet)'{-q,--quiet}'[be quiet if no differences]' \
+  '--from:debs:_files -g "*.deb"' \
+  '--to:debs:_files -g "*.deb"' \
+  '*:file to compare:_files -g "*.(deb|changes|dsc)"'