Should I somehow *assume* that "--help" is supported?
You can in the case we're discussing, but only because bash is a GNU
program and `--help' is part of the GNU coding standards.
Hmm... and the GNU coding standards says to exit with a zero exit
status... which is what pourko wanted. But with the added documentation
(above), that does not matter, because you've now documented the
deviation from them.
If I change the return status in this case, I'll alter the documentation
appropriately.
--
``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/