diff options
| author | Peter Eisentraut | 2020-02-28 07:54:49 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2020-02-28 12:12:21 +0000 |
| commit | 1933ae629e7b706c6c23673a381e778819db307d (patch) | |
| tree | 1075d45bcb23ae61685fe45ab1578cbeeb069a15 /contrib/oid2name/oid2name.c | |
| parent | 864934131ef72dc3a403ad1375a94543fcc04206 (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 <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/8d389c5f-7fb5-8e48-9a4a-68cec44786fa%402ndquadrant.com
Diffstat (limited to 'contrib/oid2name/oid2name.c')
| -rw-r--r-- | contrib/oid2name/oid2name.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c index e67f71d97d..c7d0f9025a 100644 --- a/contrib/oid2name/oid2name.c +++ b/contrib/oid2name/oid2name.c @@ -219,8 +219,9 @@ 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 <%s>.\n", - progname, progname, PACKAGE_BUGREPORT); + "Report bugs to <%s>.\n" + "%s home page: <%s>\n", + progname, progname, PACKAGE_BUGREPORT, PACKAGE_NAME, PACKAGE_URL); } /* |
