Fixes Issue 11876 - Implement automatic --help and --help=option printout for getopt.