summaryrefslogtreecommitdiff
path: root/src/bin/pgbench/pgbench.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/pgbench/pgbench.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/pgbench/pgbench.c')
-rw-r--r--src/bin/pgbench/pgbench.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 978fca0f471..b8864c6ae53 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -681,8 +681,9 @@ usage(void)
" -V, --version output version information, then exit\n"
" -?, --help show this help, then exit\n"
"\n"
- "Report bugs to <%s>.\n",
- progname, progname, PACKAGE_BUGREPORT);
+ "Report bugs to <%s>.\n"
+ "%s home page: <%s>\n",
+ progname, progname, PACKAGE_BUGREPORT, PACKAGE_NAME, PACKAGE_URL);
}
/* return whether str matches "^\s*[-+]?[0-9]+$" */