"Serguei Mokhov" <[EMAIL PROTECTED]> writes: > Now, this:
> #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. But there's no good place to put it. I'd say just stick it into each tool; it's no worse than repeating the existence of a "usage()" subroutine in each tool. > Is pushing it up to c.h an option, I'd vote against that. >> The trouble I see there is that the layout --- in particular the column >> width --- would be embedded in such a routine and not alterable by >> simply replacing message texts. > True, but what would be wrong by having an argument for the column width? The translator would have no control over such an argument --- at least not without some mechanism outside the .po files. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]