On 9/19/25 10:46 AM, pourko--- via Bug reports for the GNU Bourne Again SHell wrote:

So this is the bug report? That the builtins that accept --help (some
builtins are documented as not accepting any options) do not return 0?

No, it most certainly is not.

And yet you say it is below:

To rephrase my original posting: Commands that do support "--help", they usually
exit with return code 0. Wouldn't it be more reasonable if our builtins behaved
the same way?






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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • builtin_name --he... pourko--- via Bug reports for the GNU Bourne Again SHell
    • Re: builtin_... Andreas Kähäri
      • 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
                • ... pourko--- via Bug reports for the GNU Bourne Again SHell
                • ... Chet Ramey
                • ... Andreas Kähäri
        • Re: ... Andreas Kähäri
          • ... Chet Ramey
            • ... Andreas Kähäri
              • ... Chet Ramey
          • ... pourko--- via Bug reports for the GNU Bourne Again SHell

Reply via email to