apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hudson <ghud...@MIT.EDU>
Subject Re: RFC on interface change to apr_getopt_long()
Date Mon, 20 Nov 2000 21:57:21 GMT
> Okay.  Anyway, I think it would be nice if, when a short and long
> option mean the same thing, they could be specified in the same
> place. :-)

> One way is to replace the `val' field in apr_getopt_long_t with this:

>    /* An array of single-letter options, any of which is equivalent to
>       this long option, terminated by '\0'. */
>    const char *short_equivs;

How do you then specify short options with no long equivalent, or long
options with no short equivalent?

Mime
View raw message