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 09:20:57 -0400
User-agent: Mozilla Thunderbird

On 9/19/25 7:26 AM, Andreas Kähäri wrote:

The bug here seems to be that the "--help" long option provokes a
behaviour from some built-ins that is not documented.

Such as?

To get the help text, one should use "help builtin_name"
(this also works for built-ins like "[" and "echo" that do not recognize
"--help").  This is the point of the "help" built-in.

This is true, but the --help option is part of the GNU coding standards.
(I drew the line at adding --version to every builtin.)

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