On 8/10/25 5:17 PM, Wiley Young wrote:
It seems like using that syntax would indicate an intention to use the
binary.

This is faulty reasoning. All the bash builtins, except for `:', `echo',
`true', `false', and `test' (for obvious reasons), accept `--help'. It's
part of the GNU coding standards.

This is consistent across systems, even those not using coreutils.

$ type -P kill
/bin/kill
$ /bin/kill --version
usage: kill [-s signal_name] pid ...
       kill -l [exit_status]
       kill -signal_name pid ...
       kill -signal_number pid ...


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to