Re: [PATCH] parse-options: add parse_options_check to validate option specs.
- From
- Pierre Habouzit <madcoder@madism.org>
- Date
- Jun 12, 2009, 19:31 UTC
- Message-ID
- <20090612193156.GC3129@artemis.corp>
- In-Reply-To
- <1244535824-11970-1-git-send-email-madcoder@debian.org>
On Tue, Jun 09, 2009 at 10:23:44AM +0200, Pierre Habouzit wrote:
Show 10 quoted lines
> It only searches for now for the dreaded LASTARG_DEFAULT | OPTARG > combination, but can be extended to check for any other forbidden > combination. > > Options are checked each time we call parse_options_start. > > Signed-off-by: Pierre Habouzit <madcoder@debian.org> > --- > parse-options.c | 24 ++++++++++++++++++++++++ > 1 files changed, 24 insertions(+), 0 deletions(-)
Has this patch been missed, or has it any kind of flaw that _I_ missed ? :)
-- ·O· Pierre Habouzit ··O madcoder@debian.org OOO http://www.madism.org