1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Refer to bug report address by symbol rather than hardcoding

Use the PACKAGE_BUGREPORT macro that is created by Autoconf for
referring to the bug reporting address rather than hardcoding it
everywhere.  This makes it easier to change the address and it reduces
translation work.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/8d389c5f-7fb5-8e48-9a4a-68cec44786fa%402ndquadrant.com
This commit is contained in:
Peter Eisentraut
2020-02-28 08:54:49 +01:00
parent afb5465e0c
commit 864934131e
36 changed files with 39 additions and 39 deletions

View File

@ -219,8 +219,8 @@ help(const char *progname)
" -p, --port=PORT database server port number\n"
" -U, --username=USERNAME connect as specified database user\n"
"\nThe default action is to show all database OIDs.\n\n"
"Report bugs to <pgsql-bugs@lists.postgresql.org>.\n",
progname, progname);
"Report bugs to <%s>.\n",
progname, progname, PACKAGE_BUGREPORT);
}
/*

View File

@ -612,7 +612,7 @@ usage(void)
" restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n"
"e.g.\n"
" restore_command = 'pg_standby /mnt/server/archiverdir %%f %%p %%r'\n");
printf("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n");
printf("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT);
}
#ifndef WIN32

View File

@ -436,7 +436,7 @@ usage(const char *progname)
printf(" -w, --no-password never prompt for password\n");
printf(" -W, --password force password prompt\n");
printf("\n");
printf("Report bugs to <pgsql-bugs@lists.postgresql.org>.\n");
printf("Report bugs to <%s>.\n", PACKAGE_BUGREPORT);
}