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/