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: Pádraig Brady
Subject: Re: true,false: --version,--help exit code
Date: Tue, 03 Jun 2014 18:13:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 06/03/2014 04:36 PM, Eric Blake wrote:
> 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.

We can do that, though I'm not sure we should bother
since users would probably never need the separated values
for this extreme edge case.

>> 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.

Attached.

thanks,
Pádraig.

Attachment: true-false-tests.patch
Description: Text Data


reply via email to

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