[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC on interface change to apr_getopt_long()

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-11-20 22:57:21 CET

> 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?
Received on Sat Oct 21 14:36:15 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.