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 10:29:05 -0400
User-agent: Mozilla Thunderbird

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

Not *some*, they all return error code 2.
And, I don't see anything "invalid" about --help.

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?

Then maybe they should. Both /bin/[ and /bin/echo support "--help".

This is a bad idea, and certainly not universal.

--
``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]