This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Karin en Edwin wrote:
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?
I'm more familiar with getopt than argp, so others may have better advice. I'd suggest enqueueing options (possibly in parsed form) for later handling, then dealing with nonoptions, then popping options
That's a lot of convolution. What is the problem you are actually trying to solve? With that knowledge, suggestions are easier.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |