Ignoring flags in the command line
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am trying to use gengetopt in my project and so far it's great but the following issue came up : We have several plug-ins that should use the same command line, but each has different options. I want to be able to use ggo in each of them but let it ignore options it does not recognize (since they should probably be parsed by a different plug-in). So what I need is to be able to do something like this : legal flags : -a <value> -b Command line : <exe> -b -c -a 7 and I want to get a=7, b=true without any errors because of the "-c". I'll be gald to head any ideas on how to do it. Thanks, Rina