]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Docs: adjust pg_upgrade syntax to mark -B as optional
authorDavid Rowley <drowley@postgresql.org>
Tue, 12 Apr 2022 23:19:34 +0000 (11:19 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 12 Apr 2022 23:19:34 +0000 (11:19 +1200)
This was made optional in 959f6d6a1.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com
Backpatch-through: 13, where -B was made optional

doc/src/sgml/ref/pgupgrade.sgml

index 20efdd771f513ed249748663c9e67814af95f8c5..301167c05259046eb7d6bb85e626c2ef2d019f7a 100644 (file)
@@ -24,8 +24,7 @@ PostgreSQL documentation
    <command>pg_upgrade</command>
    <arg choice="plain"><option>-b</option></arg>
    <arg choice="plain"><replaceable>oldbindir</replaceable></arg>
-   <arg choice="plain"><option>-B</option></arg>
-   <arg choice="plain"><replaceable>newbindir</replaceable></arg>
+   <arg choice="opt"><option>-B</option> <replaceable>newbindir</replaceable></arg>
    <arg choice="plain"><option>-d</option></arg>
    <arg choice="plain"><replaceable>oldconfigdir</replaceable></arg>
    <arg choice="plain"><option>-D</option></arg>