Commit a659e789 authored by Bruce Momjian's avatar Bruce Momjian

docs: list single-letter options first in command-line summary

In a few places, the long-version options were listed before the
single-letter ones in the command summary of a few commands.  This
didn't match other commands, and didn't match the option ordering later
in the same reference page.

Backpatch-through: 9.5
parent 2b4f3130
...@@ -25,8 +25,8 @@ PostgreSQL documentation ...@@ -25,8 +25,8 @@ PostgreSQL documentation
<arg choice="opt"><replaceable class="parameter">option</replaceable></arg> <arg choice="opt"><replaceable class="parameter">option</replaceable></arg>
<group choice="opt"> <group choice="opt">
<group choice="opt"> <group choice="opt">
<arg choice="plain"><option>--pgdata</option></arg>
<arg choice="plain"><option>-D</option></arg> <arg choice="plain"><option>-D</option></arg>
<arg choice="plain"><option>--pgdata</option></arg>
</group> </group>
<replaceable class="parameter"> datadir</replaceable> <replaceable class="parameter"> datadir</replaceable>
</group> </group>
......
...@@ -23,18 +23,18 @@ PostgreSQL documentation ...@@ -23,18 +23,18 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>pg_resetwal</command> <command>pg_resetwal</command>
<group choice="opt"> <group choice="opt">
<arg choice="plain"><option>--force</option></arg>
<arg choice="plain"><option>-f</option></arg> <arg choice="plain"><option>-f</option></arg>
<arg choice="plain"><option>--force</option></arg>
</group> </group>
<group choice="opt"> <group choice="opt">
<arg choice="plain"><option>--dry-run</option></arg>
<arg choice="plain"><option>-n</option></arg> <arg choice="plain"><option>-n</option></arg>
<arg choice="plain"><option>--dry-run</option></arg>
</group> </group>
<arg rep="repeat"><replaceable>option</replaceable></arg> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group choice="plain"> <group choice="plain">
<group choice="opt"> <group choice="opt">
<arg choice="plain"><option>--pgdata</option></arg>
<arg choice="plain"><option>-D</option></arg> <arg choice="plain"><option>-D</option></arg>
<arg choice="plain"><option>--pgdata</option></arg>
</group> </group>
<replaceable class="parameter"> datadir</replaceable> <replaceable class="parameter"> datadir</replaceable>
</group> </group>
......
...@@ -28,8 +28,8 @@ PostgreSQL documentation ...@@ -28,8 +28,8 @@ PostgreSQL documentation
<arg choice="plain" rep="repeat"> <arg choice="plain" rep="repeat">
<arg choice="opt"> <arg choice="opt">
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--schema</option></arg>
<arg choice="plain"><option>-S</option></arg> <arg choice="plain"><option>-S</option></arg>
<arg choice="plain"><option>--schema</option></arg>
</group> </group>
<replaceable>schema</replaceable> <replaceable>schema</replaceable>
</arg> </arg>
...@@ -38,8 +38,8 @@ PostgreSQL documentation ...@@ -38,8 +38,8 @@ PostgreSQL documentation
<arg choice="plain" rep="repeat"> <arg choice="plain" rep="repeat">
<arg choice="opt"> <arg choice="opt">
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--table</option></arg>
<arg choice="plain"><option>-t</option></arg> <arg choice="plain"><option>-t</option></arg>
<arg choice="plain"><option>--table</option></arg>
</group> </group>
<replaceable>table</replaceable> <replaceable>table</replaceable>
</arg> </arg>
...@@ -48,8 +48,8 @@ PostgreSQL documentation ...@@ -48,8 +48,8 @@ PostgreSQL documentation
<arg choice="plain" rep="repeat"> <arg choice="plain" rep="repeat">
<arg choice="opt"> <arg choice="opt">
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--index</option></arg>
<arg choice="plain"><option>-i</option></arg> <arg choice="plain"><option>-i</option></arg>
<arg choice="plain"><option>--index</option></arg>
</group> </group>
<replaceable>index</replaceable> <replaceable>index</replaceable>
</arg> </arg>
...@@ -64,8 +64,8 @@ PostgreSQL documentation ...@@ -64,8 +64,8 @@ PostgreSQL documentation
<arg rep="repeat"><replaceable>option</replaceable></arg> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--all</option></arg>
<arg choice="plain"><option>-a</option></arg> <arg choice="plain"><option>-a</option></arg>
<arg choice="plain"><option>--all</option></arg>
</group> </group>
</cmdsynopsis> </cmdsynopsis>
...@@ -75,8 +75,8 @@ PostgreSQL documentation ...@@ -75,8 +75,8 @@ PostgreSQL documentation
<arg rep="repeat"><replaceable>option</replaceable></arg> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--system</option></arg>
<arg choice="plain"><option>-s</option></arg> <arg choice="plain"><option>-s</option></arg>
<arg choice="plain"><option>--system</option></arg>
</group> </group>
<arg choice="opt"><replaceable>dbname</replaceable></arg> <arg choice="opt"><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
......
...@@ -28,8 +28,8 @@ PostgreSQL documentation ...@@ -28,8 +28,8 @@ PostgreSQL documentation
<arg choice="plain" rep="repeat"> <arg choice="plain" rep="repeat">
<arg choice="opt"> <arg choice="opt">
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--table</option></arg>
<arg choice="plain"><option>-t</option></arg> <arg choice="plain"><option>-t</option></arg>
<arg choice="plain"><option>--table</option></arg>
</group> </group>
<replaceable>table</replaceable> <replaceable>table</replaceable>
<arg choice="opt">( <replaceable class="parameter">column</replaceable> [,...] )</arg> <arg choice="opt">( <replaceable class="parameter">column</replaceable> [,...] )</arg>
...@@ -44,8 +44,8 @@ PostgreSQL documentation ...@@ -44,8 +44,8 @@ PostgreSQL documentation
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group choice="plain"> <group choice="plain">
<arg choice="plain"><option>--all</option></arg>
<arg choice="plain"><option>-a</option></arg> <arg choice="plain"><option>-a</option></arg>
<arg choice="plain"><option>--all</option></arg>
</group> </group>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment