* Melvin Vermeeren <vermee...@vermwa.re>, 2020-05-28, 17:17:
POSIX specifies printf has no options, meaning this should print "--help".
Arguments parsing must simply not be attempted at all in order to be
compliant as far as I know.
$ /usr/bin/printf --help
Usage: /usr/bin/printf FORMAT [ARGUMENT]...
or: /usr/bin/printf OPTION
I think you're misinterpreting the standard. If it really meant that
implementations must not support any options, it would say so
explicitly, like it does for echo:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
--
Jakub Wilk