Skip to content

Commit 3ba8a38

Browse files
committed
Document the pg_upgrade -j/--jobs option as taking an argument
1 parent 45b8826 commit 3ba8a38

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
</varlistentry>
114114

115115
<varlistentry>
116-
<term><option>-j</option></term>
117-
<term><option>--jobs</option></term>
116+
<term><option>-j <replaceable class="parameter">njobs</replaceable></option></term>
117+
<term><option>--jobs=<replaceable class="parameter">njobs</replaceable></option></term>
118118
<listitem><para>number of simultaneous processes or threads to use
119119
</para></listitem>
120120
</varlistentry>

src/bin/pg_upgrade/option.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ usage(void)
297297
printf(_(" -c, --check check clusters only, don't change any data\n"));
298298
printf(_(" -d, --old-datadir=DATADIR old cluster data directory\n"));
299299
printf(_(" -D, --new-datadir=DATADIR new cluster data directory\n"));
300-
printf(_(" -j, --jobs number of simultaneous processes or threads to use\n"));
300+
printf(_(" -j, --jobs=NUM number of simultaneous processes or threads to use\n"));
301301
printf(_(" -k, --link link instead of copying files to new cluster\n"));
302302
printf(_(" -o, --old-options=OPTIONS old cluster options to pass to the server\n"));
303303
printf(_(" -O, --new-options=OPTIONS new cluster options to pass to the server\n"));

0 commit comments

Comments
 (0)