bug-bash
[Top][All Lists]
Advanced

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

Re: builtin_name --help


From: Chet Ramey
Subject: Re: builtin_name --help
Date: Fri, 19 Sep 2025 12:04:07 -0400
User-agent: Mozilla Thunderbird

On 9/19/25 11:33 AM, Andreas Kähäri wrote:

Should I somehow *assume* that "--help" is supported?
You can in the case we're discussing, but only because bash is a GNU
program and `--help' is part of the GNU coding standards.

Hmm... and the GNU coding standards says to exit with a zero exit
status... which is what pourko wanted.  But with the added documentation
(above), that does not matter, because you've now documented the
deviation from them.

If I change the return status in this case, I'll alter the documentation
appropriately.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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