coreutils
[Top][All Lists]
Advanced

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

Re: true,false: --version,--help exit code


From: Eric Blake
Subject: Re: true,false: --version,--help exit code
Date: Tue, 03 Jun 2014 09:36:26 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 06/03/2014 09:14 AM, Pádraig Brady wrote:

> Or just leave it as is?
> I.E. true can return false in the edge cases where it needs to.

I'm liking this idea more - and we can extend it to make 'false
--version' return a different status for write failure than its normal
always-1 status for successfully reporting false.

> 
> I can fix up the test issues I noticed separately.

Yes, at this point, separating the test snafu of only covering the
builtin from any change in exit status behavior is wise.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]