On 03/20/2014 07:12 PM, Phillip Susi wrote:
> The standard says that !0 means there was an error, regardless of what
> options you gave.

again, which "standard"? again, i'm not argueing about the non
--version|--help|--usage and so on options, i only disagree for those
'special' options. so far, you're only claiming things without references.

> I can not find one single other tool ( and I've
> just checked over 50 ) that returns a failure code when printing its
> version.

just one to proof you wrong (but you can find many others): mkfs.vfat

> I found this bug was actually
> calling mkfs.* -V to test whether the corresponding utility is
> installed and executable so that it can skip that filesystem if the
> tools are missing.

maybe you should consider using the usual test -x for that.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baum...@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to