summaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorPeter Eisentraut2020-02-28 07:54:49 +0000
committerPeter Eisentraut2020-02-28 12:12:21 +0000
commit1933ae629e7b706c6c23673a381e778819db307d (patch)
tree1075d45bcb23ae61685fe45ab1578cbeeb069a15 /src/bin/psql/help.c
parent864934131ef72dc3a403ad1375a94543fcc04206 (diff)
Add PostgreSQL home page to --help output
Per emerging standard in GNU programs and elsewhere. Autoconf already has support for specifying a home page, so we can just that. Reviewed-by: Daniel Gustafsson <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/8d389c5f-7fb5-8e48-9a4a-68cec44786fa%402ndquadrant.com
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 777d54f0858..1f1f7784261 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -145,6 +145,7 @@ usage(unsigned short int pager)
"commands) from within psql, or consult the psql section in the PostgreSQL\n"
"documentation.\n\n"));
fprintf(output, _("Report bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ fprintf(output, _("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
ClosePager(output);
}