[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202493: agree with wontfix



Hello,

>If apt-cache show does not know about a package, it should exit with a
>nonzero status. Zero breaks all kinds of scripts which check
>apt-cache's exit status and rely on sensible information.

apt-cache show accepts multiple packages, how would you decide the exit
status? WHen all of the given packages are not found? When one of the
packages are not found? When to exit?

In my opinion, the behavior for exit() would be too ambiguous.

Best regards,

-- 
http://syx.googlecode.com - Smalltalk YX
http://lethalman.blogspot.com - Thoughts about computer technologies
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature


Reply to: