bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: builtin_name --help


From: pourko
Subject: Re: builtin_name --help
Date: Fri, 19 Sep 2025 18:21:19 +0200 (CEST)

Sep 19, 2025, 11:05 by chet.ramey@case.edu:
> It would not, but you're in the right neighborhood.
> I'll take care of it.

Are you sure that it's not enough? I just built a fresh new bash with the
following patch, and it seems to have solved everything for me:

---------------------------------------------------------------
--- builtins/common.h  Wed Oct 23 14:40:02 2024
+++ -  Fri Sep 19 10:55:43 2025
@@ -38,7 +38,7 @@
 #define CASE_HELPOPT \
   case GETOPT_HELP: \
     builtin_help (); \
-    return (EX_USAGE)
+    return (EXECUTION_SUCCESS)
 
 /* Flag values for parse_and_execute () and parse_string () */
 #define SEVAL_NONINT  0x001
---------------------------------------------------------------

Anyway, since you said that you'll take care of it, 
I leave it all to you now. :-)

Thank you!

Pourko





reply via email to

[Prev in Thread] Current Thread [Next in Thread]