Improve markup of cmdsynopsis elements

Add more markup in particular so that the command options appear
consistently in monospace in the HTML output.

On the vacuumdb reference page, remove listing all the possible
options in the synopsis.  They have become too many now; we have the
detailed options list for that.
pull/3/head
Peter Eisentraut 14 years ago
parent 61c84b4761
commit 4266509c57
  1. 8
      doc/src/sgml/ref/clusterdb.sgml
  2. 2
      doc/src/sgml/ref/createlang.sgml
  3. 2
      doc/src/sgml/ref/droplang.sgml
  4. 8
      doc/src/sgml/ref/initdb.sgml
  5. 112
      doc/src/sgml/ref/pg_ctl-ref.sgml
  6. 16
      doc/src/sgml/ref/pg_resetxlog.sgml
  7. 26
      doc/src/sgml/ref/reindexdb.sgml
  8. 24
      doc/src/sgml/ref/vacuumdb.sgml

@ -23,16 +23,16 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>clusterdb</command> <command>clusterdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--verbose</arg><arg>-v</arg></group> <group><arg><option>--verbose</option></arg><arg><option>-v</option></arg></group>
<arg>--table | -t <replaceable>table</replaceable> </arg> <arg><group choice="plain"><arg><option>--table</option></arg><arg><option>-t</option></arg></group> <replaceable>table</replaceable> </arg>
<arg><replaceable>dbname</replaceable></arg> <arg><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>clusterdb</command> <command>clusterdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--verbose</arg><arg>-v</arg></group> <group><arg><option>--verbose</option></arg><arg><option>-v</option></arg></group>
<group><arg>--all</arg><arg>-a</arg></group> <group><arg><option>--all</option></arg><arg><option>-a</option></arg></group>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -30,7 +30,7 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>createlang</command> <command>createlang</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group choice="plain"><arg>--list</arg><arg>-l</arg></group> <group choice="plain"><arg><option>--list</option></arg><arg><option>-l</option></arg></group>
<arg choice="plain"><replaceable>dbname</replaceable></arg> <arg choice="plain"><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -30,7 +30,7 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>droplang</command> <command>droplang</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group choice="plain"><arg>--list</arg><arg>-l</arg></group> <group choice="plain"><arg><option>--list</option></arg><arg><option>-l</option></arg></group>
<arg choice="plain"><replaceable>dbname</replaceable></arg> <arg choice="plain"><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -24,9 +24,11 @@ PostgreSQL documentation
<command>initdb</command> <command>initdb</command>
<arg rep="repeat"><replaceable>option</replaceable></arg> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group choice="plain"> <group choice="plain">
<arg>--pgdata</arg> <group choice="opt">
<arg>-D </arg> <arg><option>--pgdata</option></arg>
<replaceable>directory</replaceable> <arg><option>-D</option></arg>
</group>
<replaceable> directory</replaceable>
</group> </group>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -22,109 +22,109 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">init[db]</arg> <arg choice="plain"><option>init[db]</option></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
<arg>-o <replaceable>initdb-options</replaceable></arg> <arg><option>-o</option> <replaceable>initdb-options</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">start</arg> <arg choice="plain"><option>start</option></arg>
<arg>-w</arg> <arg><option>-w</option></arg>
<arg>-t <replaceable>seconds</replaceable></arg> <arg><option>-t</option> <replaceable>seconds</replaceable></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
<arg>-l <replaceable>filename</replaceable></arg> <arg><option>-l</option> <replaceable>filename</replaceable></arg>
<arg>-o <replaceable>options</replaceable></arg> <arg><option>-o</option> <replaceable>options</replaceable></arg>
<arg>-p <replaceable>path</replaceable></arg> <arg><option>-p</option> <replaceable>path</replaceable></arg>
<arg>-c</arg> <arg><option>-c</option></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">stop</arg> <arg choice="plain"><option>stop</option></arg>
<arg>-W</arg> <arg><option>-W</option></arg>
<arg>-t <replaceable>seconds</replaceable></arg> <arg><option>-t</option> <replaceable>seconds</replaceable></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
<arg>-m <arg><option>-m</option>
<group choice="plain"> <group choice="plain">
<arg>s[mart]</arg> <arg><option>s[mart]</option></arg>
<arg>f[ast]</arg> <arg><option>f[ast]</option></arg>
<arg>i[mmediate]</arg> <arg><option>i[mmediate]</option></arg>
</group> </group>
</arg> </arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">restart</arg> <arg choice="plain"><option>restart</option></arg>
<arg>-w</arg> <arg><option>-w</option></arg>
<arg>-t <replaceable>seconds</replaceable></arg> <arg><option>-t</option> <replaceable>seconds</replaceable></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
<arg>-c</arg> <arg><option>-c</option></arg>
<arg>-m <arg><option>-m</option>
<group choice="plain"> <group choice="plain">
<arg>s[mart]</arg> <arg><option>s[mart]</option></arg>
<arg>f[ast]</arg> <arg><option>f[ast]</option></arg>
<arg>i[mmediate]</arg> <arg><option>i[mmediate]</option></arg>
</group> </group>
</arg> </arg>
<arg>-o <replaceable>options</replaceable></arg> <arg><option>-o</option> <replaceable>options</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">reload</arg> <arg choice="plain"><option>reload</option></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">status</arg> <arg choice="plain"><option>status</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">promote</arg> <arg choice="plain"><option>promote</option></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">kill</arg> <arg choice="plain"><option>kill</option></arg>
<arg choice="plain"><replaceable>signal_name</replaceable></arg> <arg choice="plain"><replaceable>signal_name</replaceable></arg>
<arg choice="plain"><replaceable>process_id</replaceable></arg> <arg choice="plain"><replaceable>process_id</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">register</arg> <arg choice="plain"><option>register</option></arg>
<arg>-N <replaceable>servicename</replaceable></arg> <arg><option>-N</option> <replaceable>servicename</replaceable></arg>
<arg>-U <replaceable>username</replaceable></arg> <arg><option>-U</option> <replaceable>username</replaceable></arg>
<arg>-P <replaceable>password</replaceable></arg> <arg><option>-P</option> <replaceable>password</replaceable></arg>
<arg>-D <replaceable>datadir</replaceable></arg> <arg><option>-D</option> <replaceable>datadir</replaceable></arg>
<arg>-S <arg><option>-S</option>
<group choice="plain"> <group choice="plain">
<arg>a[uto]</arg> <arg><option>a[uto]</option></arg>
<arg>d[emand]</arg> <arg><option>d[emand]</option></arg>
</group> </group>
</arg> </arg>
<arg>-w</arg> <arg><option>-w</option></arg>
<arg>-t <replaceable>seconds</replaceable></arg> <arg><option>-t</option> <replaceable>seconds</replaceable></arg>
<arg>-s</arg> <arg><option>-s</option></arg>
<arg>-o <replaceable>options</replaceable></arg> <arg><option>-o</option> <replaceable>options</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>pg_ctl</command> <command>pg_ctl</command>
<arg choice="plain">unregister</arg> <arg choice="plain"><option>unregister</option></arg>
<arg>-N <replaceable>servicename</replaceable></arg> <arg><option>-N</option> <replaceable>servicename</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -22,14 +22,14 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>pg_resetxlog</command> <command>pg_resetxlog</command>
<arg>-f</arg> <arg><option>-f</option></arg>
<arg>-n</arg> <arg><option>-n</option></arg>
<arg>-o<replaceable class="parameter">oid</replaceable> </arg> <arg><option>-o</option> <replaceable class="parameter">oid</replaceable></arg>
<arg>-x <replaceable class="parameter">xid</replaceable> </arg> <arg><option>-x</option> <replaceable class="parameter">xid</replaceable></arg>
<arg>-e <replaceable class="parameter">xid_epoch</replaceable> </arg> <arg><option>-e</option> <replaceable class="parameter">xid_epoch</replaceable></arg>
<arg>-m <replaceable class="parameter">mxid</replaceable> </arg> <arg><option>-m</option> <replaceable class="parameter">mxid</replaceable></arg>
<arg>-O <replaceable class="parameter">mxoff</replaceable> </arg> <arg><option>-O</option> <replaceable class="parameter">mxoff</replaceable></arg>
<arg>-l <replaceable class="parameter">timelineid</replaceable>,<replaceable class="parameter">fileid</replaceable>,<replaceable class="parameter">seg</replaceable> </arg> <arg><option>-l</option> <replaceable class="parameter">timelineid</replaceable>,<replaceable class="parameter">fileid</replaceable>,<replaceable class="parameter">seg</replaceable></arg>
<arg choice="plain"><replaceable>datadir</replaceable></arg> <arg choice="plain"><replaceable>datadir</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -23,21 +23,39 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>reindexdb</command> <command>reindexdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg>--table | -t <replaceable>table</replaceable> </arg> <group choice="opt">
<arg>--index | -i <replaceable>index</replaceable> </arg> <group choice="plain">
<arg><option>--table</option></arg>
<arg><option>-t</option></arg>
</group>
<replaceable>table</replaceable>
</group>
<group choice="opt">
<group choice="plain">
<arg><option>--index</option></arg>
<arg><option>-i</option></arg>
</group>
<replaceable>index</replaceable>
</group>
<arg><replaceable>dbname</replaceable></arg> <arg><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>reindexdb</command> <command>reindexdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg>--all | -a</arg> <group choice="plain">
<arg><option>--all</option></arg>
<arg><option>-a</option></arg>
</group>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>reindexdb</command> <command>reindexdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg>--system | -s</arg> <group choice="plain">
<arg><option>--system</option></arg>
<arg><option>-s</option></arg>
</group>
<arg><replaceable>dbname</replaceable></arg> <arg><replaceable>dbname</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

@ -23,12 +23,13 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>vacuumdb</command> <command>vacuumdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--full</arg><arg>-f</arg></group> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group><arg>--freeze</arg><arg>-F</arg></group> <arg>
<group><arg>--verbose</arg><arg>-v</arg></group> <group choice="plain">
<group><arg>--analyze</arg><arg>-z</arg></group> <arg><option>--table</option></arg>
<group><arg>--analyze-only</arg><arg>-Z</arg></group> <arg><option>-t</option></arg>
<arg>--table | -t <replaceable>table</replaceable> </group>
<replaceable>table</replaceable>
<arg>( <replaceable class="parameter">column</replaceable> [,...] )</arg> <arg>( <replaceable class="parameter">column</replaceable> [,...] )</arg>
</arg> </arg>
<arg><replaceable>dbname</replaceable></arg> <arg><replaceable>dbname</replaceable></arg>
@ -37,12 +38,11 @@ PostgreSQL documentation
<cmdsynopsis> <cmdsynopsis>
<command>vacuumdb</command> <command>vacuumdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg> <arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--full</arg><arg>-f</arg></group> <arg rep="repeat"><replaceable>option</replaceable></arg>
<group><arg>--freeze</arg><arg>-F</arg></group> <group choice="plain">
<group><arg>--verbose</arg><arg>-v</arg></group> <arg><option>--all</option></arg>
<group><arg>--analyze</arg><arg>-z</arg></group> <arg><option>-a</option></arg>
<group><arg>--analyze-only</arg><arg>-Z</arg></group> </group>
<group><arg>--all</arg><arg>-a</arg></group>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>

Loading…
Cancel
Save