From: René Scharfe Date: Fri, 12 Jun 2009 21:25:57 GMT Subject: Re: [PATCH] parse-options: add parse_options_check to validate option specs. Message-ID: <4A32C7E5.5090604@lsrfire.ath.cx> In-Reply-To: <20090612193156.GC3129@artemis.corp> Pierre Habouzit schrieb: > On Tue, Jun 09, 2009 at 10:23:44AM +0200, Pierre Habouzit wrote: >> 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 >> --- >> 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 ? > :) > It's in master (cb9d398c).