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   [EMAIL PROTECTED]


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to