Re: pg_dump.options.diff
От | Serguei Mokhov |
---|---|
Тема | Re: pg_dump.options.diff |
Дата | |
Msg-id | 00c601c2b286$2b3bdb20$0301a8c0@gunnymede.lan обсуждение исходный текст |
Ответ на | pg_dump.options.diff ("Serguei Mokhov" <mokhov@cs.concordia.ca>) |
Ответы |
Re: pg_dump.options.diff
|
Список | pgsql-hackers |
----- Original Message ----- From: "Tom Lane" <tgl@sss.pgh.pa.us> Sent: January 02, 2003 9:29 AM > Maybe we should not try to be cute, but just do > > #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 > > xo(_("-f, --file=FILENAME "), > _("-f FILENAME "), > _("output file name")); > > so that the column spacing remains under control of the translator. Looks good to me, but there is still a little inconvenience of multiline option descriptions, and the above won't handle it nicely. If people agree with the above, can I go ahead and make corresponding changes? OR may be a whole generic option-formatting routine should be created; one for all the tools? ;-) Similar to explain_option() of Manfred, which will handle the mulitline, padding, and other stuff? (am being half serious here, but it could be an "option") -s
В списке pgsql-hackers по дате отправления: