1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

You can't NLS-enable a program component by just putting gettext() around

every string, especially if some of the output should be fixed-format
machine-readable.  This needs to be more carefully sorted out. Also, make
the help message generated by --help-config -h be more similar in style to
the others.
This commit is contained in:
Peter Eisentraut
2003-09-27 09:29:31 +00:00
parent 4af19a579d
commit e05147e51a
3 changed files with 57 additions and 99 deletions

View File

@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.63 2003/09/25 06:57:59 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.64 2003/09/27 09:29:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -227,7 +227,7 @@ main(int argc, char *argv[])
* the arguments passed on to GucInfoMain.
*/
if (argc > 1 && strcmp(new_argv[1], "--help-config") == 0)
exit(GucInfoMain(argc - 1, new_argv + 1));
exit(GucInfoMain(argc, new_argv));
/*
* Otherwise we're a standalone backend. Invoke PostgresMain,