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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

      • Re: buil... pourko--- via Bug reports for the GNU Bourne Again SHell
        • Re: ... Chet Ramey
          • ... pourko--- via Bug reports for the GNU Bourne Again SHell
            • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
            • ... Chet Ramey
            • ... Andreas Kähäri
    • Re: builtin_... Andreas Kähäri
  • Re: builtin_name ... Chet Ramey
    • Re: builtin_... Lawrence Velázquez
      • Re: buil... Chet Ramey
        • Re: ... pourko--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
            • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell

Reply via email to