Hi,
I am using the argp parser and I would like to make sure the argument always
gets parsed before the options (default behaviour is the opposite). I have
looked in the argp documentation, but cannot find anything.
Anyone have an idea how I could do this?
The argp parser is not part of the GCC project, but it is included in
GLIBC. The GLIBC project has a separate mailing list at
libc-help@xxxxxxxxxxxxxxx
I don't know the implementation details of the argp parser, but I would
suppose the order is fixed. But there are also other projects which
might help you:
* getopt
* GNU get options (ggo)
GGO for example doesn't work via a call-back (like argp) but parses the
options and provides you with a structure containing all the options and
flags. Not sure, if that's what you want ...
Best regards,
Andi