summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-02-11 23:47:36 +0100
committerPeter Eisentraut <peter@eisentraut.org>2020-02-11 23:53:40 +0100
commit3ba8a38000861c37a26aab9298d2fb3800cbd9d6 (patch)
tree3f6452b0073174ffa2aba50c4e0c40d5192c804d
parent45b88269a353ad93744772791feb6d01bc7e1e42 (diff)
Document the pg_upgrade -j/--jobs option as taking an argument
-rw-r--r--doc/src/sgml/ref/pgupgrade.sgml4
-rw-r--r--src/bin/pg_upgrade/option.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index 9b1e654cb70..56d4098d078 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -113,8 +113,8 @@
</varlistentry>
<varlistentry>
- <term><option>-j</option></term>
- <term><option>--jobs</option></term>
+ <term><option>-j <replaceable class="parameter">njobs</replaceable></option></term>
+ <term><option>--jobs=<replaceable class="parameter">njobs</replaceable></option></term>
<listitem><para>number of simultaneous processes or threads to use
</para></listitem>
</varlistentry>
diff --git a/src/bin/pg_upgrade/option.c b/src/bin/pg_upgrade/option.c
index d76f27c9e8f..a05675c6b8c 100644
--- a/src/bin/pg_upgrade/option.c
+++ b/src/bin/pg_upgrade/option.c
@@ -297,7 +297,7 @@ usage(void)
printf(_(" -c, --check check clusters only, don't change any data\n"));
printf(_(" -d, --old-datadir=DATADIR old cluster data directory\n"));
printf(_(" -D, --new-datadir=DATADIR new cluster data directory\n"));
- printf(_(" -j, --jobs number of simultaneous processes or threads to use\n"));
+ printf(_(" -j, --jobs=NUM number of simultaneous processes or threads to use\n"));
printf(_(" -k, --link link instead of copying files to new cluster\n"));
printf(_(" -o, --old-options=OPTIONS old cluster options to pass to the server\n"));
printf(_(" -O, --new-options=OPTIONS new cluster options to pass to the server\n"));