If I have an application that runs via a shell, is there POSIX documentation that says --help
support is required? I would think so, as this seems to be a standard practice among the most popular terminal applications (GNU tools, etc).
I'm mostly curious if I can use the presence or lack of a "--help" option as a litmus test for finding POSIX-compliant/non-compliant commands.
getopt
and notgetopt_long
, I'd guess--help
is never part of the standard.