[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] Ignoring flags in the command line
From: |
rnagel |
Subject: |
[help-gengetopt] Ignoring flags in the command line |
Date: |
Thu, 03 May 2007 11:25:03 +0300 |
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
- [help-gengetopt] Ignoring flags in the command line,
rnagel <=