On 09/29/2014 03:49 AM, Andrei Borzenkov wrote:
> According to
> http://www.gnu.org/software/libc/manual/html_node/Argp-Flags.html#Argp-Flags,
> when ARGP_NO_ERRS is set, the effect is "Don’t print error messages for
> unknown options to stderr". In reality when ARGP_NO_ERRS is set, all
> help output is completely suppressed - --help option is still
> recognized and processed, but does not do anything.
> 
> Is it intentional? My goal is to avoid errors from getopt about unknown
> options and let program to handle them by intercepting argp_parse()
> return code; but still using all other features Argp provides, like
> help formatting.

While this code is in gnulib it's only copied from glibc,
so I'd direct any questions there.

thanks,
Pádraig.


Reply via email to