Skip to content

Commit 238d21d

Browse files
committed
Modify pg_standby, pgbench, and pg_upgrade manual pages to be consistent
in their display of command-line options with other client applications.
1 parent 7ff79fa commit 238d21d

File tree

5 files changed

+411
-329
lines changed

5 files changed

+411
-329
lines changed

contrib/pg_upgrade/option.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -226,21 +226,21 @@ usage(migratorContext *ctx)
226226
printf(_("\nUsage: pg_upgrade [OPTIONS]...\n\
227227
\n\
228228
Options:\n\
229-
-b, --old-bindir=OLDBINDIR old cluster executable directory\n\
230-
-B, --new-bindir=NEWBINDIR new cluster executable directory\n\
231-
-c, --check check clusters only, don't change any data\n\
232-
-d, --old-datadir=OLDDATADIR old cluster data directory\n\
233-
-D, --new-datadir=NEWDATADIR new cluster data directory\n\
234-
-g, --debug enable debugging\n\
235-
-G, --debugfile=DEBUGFILENAME output debugging activity to file\n\
236-
-k, --link link instead of copying files to new cluster\n\
237-
-l, --logfile=LOGFILENAME log session activity to file\n\
238-
-p, --old-port=portnum old cluster port number (default %d)\n\
239-
-P, --new-port=portnum new cluster port number (default %d)\n\
240-
-u, --user=username clusters superuser (default \"%s\")\n\
241-
-v, --verbose enable verbose output\n\
242-
-V, --version display version information, then exit\n\
243-
-h, --help show this help, then exit\n\
229+
-b, --old-bindir=old_bindir old cluster executable directory\n\
230+
-B, --new-bindir=new_bindir new cluster executable directory\n\
231+
-c, --check check clusters only, don't change any data\n\
232+
-d, --old-datadir=old_datadir old cluster data directory\n\
233+
-D, --new-datadir=new_datadir new cluster data directory\n\
234+
-g, --debug enable debugging\n\
235+
-G, --debugfile=debug_filename output debugging activity to file\n\
236+
-k, --link link instead of copying files to new cluster\n\
237+
-l, --logfile=log_filename log session activity to file\n\
238+
-p, --old-port=old_portnum old cluster port number (default %d)\n\
239+
-P, --new-port=new_portnum new cluster port number (default %d)\n\
240+
-u, --user=username clusters superuser (default \"%s\")\n\
241+
-v, --verbose enable verbose output\n\
242+
-V, --version display version information, then exit\n\
243+
-h, --help show this help, then exit\n\
244244
\n\
245245
Before running pg_upgrade you must:\n\
246246
create a new database cluster (using the new version of initdb)\n\

doc/src/sgml/oid2name.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/oid2name.sgml,v 1.7 2010/05/20 03:45:38 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/oid2name.sgml,v 1.8 2010/05/25 15:55:28 momjian Exp $ -->
22

33
<sect1 id="oid2name">
44
<title>oid2name</title>
@@ -36,7 +36,7 @@
3636
</sect2>
3737

3838
<sect2>
39-
<title><application>oid2name</> options</title>
39+
<title><application>oid2name</> Options</title>
4040

4141
<para>
4242
<application>oid2name</application> accepts the following command-line arguments:

0 commit comments

Comments
 (0)