getopt_long -- how determine wich option is extraneous

Hi everyone.

When getopt_long encounters an unknown(extraneous) long option, it
returns '?'. But how can I determine what this option is, to print in
out? Are there any index, that points to it or some string, that
contains it?

Thanks in advance.


Relevant Pages