summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-09-12 16:32:49 +0000
committerClint Adams <clint@users.sourceforge.net>2008-09-12 16:32:49 +0000
commitdb0c81ae324dbc28b1c45921b4565dc2e54f14b6 (patch)
treeb642d3f17cc01a96ec6ea4f91d313aaa6b1dfbb0
parentced3570bd1bc8cc40c1be1592f39699c66070015 (diff)
downloadzsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.tar.gz
zsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.tar.xz
zsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.zip
25654: fix return bug and add --color.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_lintian3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 90334a472..c2e9cbc8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-12  Clint Adams  <clint@zsh.org>
+
+	* 25654: Completion/Debian/Command/_lintian: fix return bug and add
+	--color.
+
 2008-09-11  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.
diff --git a/Completion/Debian/Command/_lintian b/Completion/Debian/Command/_lintian
index d67d1abb6..cbab06de9 100644
--- a/Completion/Debian/Command/_lintian
+++ b/Completion/Debian/Command/_lintian
@@ -22,6 +22,7 @@ case "$service" in
       '(-l --unpack-level)'{-l,--unpack-level}'[unpack level]:default unpack level:(0 1 2 none basic contents)' \
       '(-o --no-override)'{-o,--no-override}'[do not use the overrides file]' \
       '--show-overrides[output tags that have been overridden]' \
+      '--color:when:(never always auto)' \
       '(-U --unpack-info)'{-U,--unpack-info}'[collect informations]:infos:_values -s , "collectibles" changelog-file copyright-file debfiles debian-readme diffstat doc-base-files file-info init.d md5sums menu-files objdump-info override-file scripts source-control-file' \
       '(-m --md5sums)'{-m,--md5sums}'[check md5sums when processing a .changes file]' \
       '--allow-root[override warning when run with superuser privileges]' \
@@ -37,7 +38,7 @@ case "$service" in
       '(-s --source)'{-s,--source}'[the following packages are source]' \
       '--udeb[the following packages are udebs]' \
       '(-p --packages-file)'{-p,--packages-file}'[process packages listed in file]:list:_files' \
-      ':package:_files -g "*.(changes|deb|dsc)"'
+      ':package:_files -g "*.(changes|deb|dsc)"' && return 0
       ;;
 
    (lintian-info)