Serguei Mokhov writes:
> #if defined(HAVE_GETOPT_LONG)
> #define xo(long,short,desc) printf("%s %s\n", long, desc)
> #else
> #define xo(long,short,desc) printf("%s %s\n", short, desc)
> #endif
>
> seems relatively generic, so it could be used by more than one tool.
As long as we're spending time on this, why not just write our own version
of getopt_long()?
--
Peter Eisentraut peter_e@gmx.net