]> granicus.if.org Git - postgresql/commitdiff
doc: Consistently use = sign in long options synopses
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 19 Oct 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 19 Oct 2016 12:48:48 +0000 (08:48 -0400)
This was already the predominant form in man pages and help output.

doc/src/sgml/ref/clusterdb.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pgupgrade.sgml
doc/src/sgml/ref/reindexdb.sgml
doc/src/sgml/ref/vacuumdb.sgml

index c13d74853ebbee33d8f277195f3ef31e7d69bd49..67582fd6e6921371680731b2ddc2965ac81b290f 100644 (file)
@@ -316,7 +316,7 @@ PostgreSQL documentation
     <literal>foo</literal> in a database named
     <literal>xyzzy</literal>:
 <screen>
-<prompt>$ </prompt><userinput>clusterdb --table foo xyzzy</userinput>
+<prompt>$ </prompt><userinput>clusterdb --table=foo xyzzy</userinput>
 </screen></para>
 
  </refsect1>
index 11444e85a83b3984b22aa56b815c8f6241261dc7..ea0a6353d8e2d07ba863f111a555445107f6bf0d 100644 (file)
@@ -263,7 +263,7 @@ PostgreSQL documentation
 
      <varlistentry>
       <term><option>-D <replaceable class="parameter">datadir</replaceable></option></term>
-      <term><option>--pgdata <replaceable class="parameter">datadir</replaceable></option></term>
+      <term><option>--pgdata=<replaceable class="parameter">datadir</replaceable></option></term>
       <listitem>
        <para>
         Specifies the file system location of the database configuration files.  If
@@ -275,7 +275,7 @@ PostgreSQL documentation
 
      <varlistentry>
       <term><option>-l <replaceable class="parameter">filename</replaceable></option></term>
-      <term><option>--log <replaceable class="parameter">filename</replaceable></option></term>
+      <term><option>--log=<replaceable class="parameter">filename</replaceable></option></term>
       <listitem>
        <para>
         Append the server log output to
@@ -288,7 +288,7 @@ PostgreSQL documentation
 
      <varlistentry>
       <term><option>-m <replaceable class="parameter">mode</replaceable></option></term>
-      <term><option>--mode <replaceable class="parameter">mode</replaceable></option></term>
+      <term><option>--mode=<replaceable class="parameter">mode</replaceable></option></term>
       <listitem>
        <para>
         Specifies the shutdown mode.  <replaceable>mode</replaceable>
index 96851933cc50396f9437bec83161bcc912347406..d46a730f662db5c8d53e8edd32ae459d741362f2 100644 (file)
@@ -558,7 +558,7 @@ rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_d
      run using:
 
 <programlisting>
-psql --username postgres --file script.sql postgres
+psql --username=postgres --file=script.sql postgres
 </programlisting>
 
      The scripts can be run in any order and can be deleted once they have
index 713efc099be946d95ad52676137737340e47a25e..36df949c957ab60f26747e1e503e93bc2d5df458 100644 (file)
@@ -396,7 +396,7 @@ PostgreSQL documentation
     To reindex the table <literal>foo</literal> and the index
     <literal>bar</literal> in a database named <literal>abcd</literal>:
 <screen>
-<prompt>$ </prompt><userinput>reindexdb --table foo --index bar abcd</userinput>
+<prompt>$ </prompt><userinput>reindexdb --table=foo --index=bar abcd</userinput>
 </screen></para>
 
  </refsect1>
index 92b8984b7a6a9db9756ab2176b69841f06485e72..4f6fa0d7085cfa8c7ebc297a4860a4e290c0bf47 100644 (file)
@@ -430,7 +430,7 @@ PostgreSQL documentation
     <literal>xyzzy</literal>, and analyze a single column
     <literal>bar</literal> of the table for the optimizer:
 <screen>
-<prompt>$ </prompt><userinput>vacuumdb --analyze --verbose --table 'foo(bar)' xyzzy</userinput>
+<prompt>$ </prompt><userinput>vacuumdb --analyze --verbose --table='foo(bar)' xyzzy</userinput>
 </screen></para>
 
  </refsect1>