Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Now for something completely different:
> The postmaster executable shows --help display perfectly localized.
> However I just noted that postgres --help output (the standalone
> backend) does not; is it not i18n'ed, or is some sort of missetup?
postgres.c's usage() isn't localized. Dunno whether it should be or
not, given that we don't normally expect users to invoke it.
> However, if I try postgres --help-config the localized display is shown,
> but postmaster --help-config says
> $ LC_MESSAGES=C /tmp/pgsql-es/bin/postmaster --help-config
> FATAL: --help-config requires a value
--help-config is only a postgres option. We could possibly make it a
postmaster option too, but I'm not sure there's any need for it.
regards, tom lane