Re: [PATCH] parse-options: add parse_options_check to validate option specs.
Show 15 quoted lines
> 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 <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 ?
> :)
>
It's in master (cb9d398c).