`help ulimit` is missing the -b option in the usage string and is
missing the -T option in both the usage string and the Options section of
the help description. doc/FAQ in the bash 4.2 source tarball says both
options were added in bash 4.0.
Repeat-By:
Run `help ulimit` and note that -b is listed in the Options
section but not the usage string. Then look at doc/FAQ or the ulimit
source and note that -T also exists but isn't documented.
Fix:
Attached is a patch to add usage documentation for -b and -T. I wasn't
sure what to do about internationalization for the new text, so I left
that alone for now.
Having the usage string and Options match is an improvement, but it's a
little confusing that you get an "invalid option" message when you use an
option that isn't available on your platform, e.g.:
To minimally address this I added a note in the help documentation that
not all options are available on all platforms, but a more precise error
message when using an option that doesn't exist on your platform would be
better.