Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Document the pg_upgrade -j/--jobs option as taking an argument
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 11 Feb 2020 22:47:36 +0000 (23:47 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 11 Feb 2020 22:56:10 +0000 (23:56 +0100)
doc/src/sgml/ref/pgupgrade.sgml
src/bin/pg_upgrade/option.c

index 3f284097dbdce1e9453ecce574ab1bd9507de4a3..e9b90fac2e337d97fbfbd2575e275da82b1d6aee 100644 (file)
      </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>
index c74eb25e18ce29d896b6e341e7a56a16596ab05d..aa26077ae06e643a9fb94f55a68bee2481acf194 100644 (file)
@@ -283,7 +283,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"));