about summary refs log tree commit diff
path: root/Completion/Debian
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 /Completion/Debian
parentced3570bd1bc8cc40c1be1592f39699c66070015 (diff)
downloadzsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.tar.gz
zsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.tar.xz
zsh-db0c81ae324dbc28b1c45921b4565dc2e54f14b6.zip
25654: fix return bug and add --color.
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/_lintian3
1 files changed, 2 insertions, 1 deletions
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)