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

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

I see that for builtins that do recognize --help as a valid option,
you have defined this macro:

#define CASE_HELPOPT \
   case GETOPT_HELP: \
     builtin_help (); \
     return (EX_USAGE)

I believe that it maybe more appropriate if you return 0 from there.
That would solve it for *all* builtins that support the --help option.

It would not, but you're in the right neighborhood. I'll take care of it.


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