summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/pg_ctl-ref.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2010-09-25 09:57:09 +0300
committerPeter Eisentraut <peter_e@gmx.net>2010-09-25 16:47:58 +0300
commitf27860dba39f3467bdcac6f91a8ca798b009f079 (patch)
tree2a494bc980a04d9d1e2dcb3b560678b1d8026100 /doc/src/sgml/ref/pg_ctl-ref.sgml
parent4afd557901448a2c9c6d407e8e174bd2c0f3a28f (diff)
Fix man page markup for <cmdsynopsis> with multiple variants
Command synopses using <cmdsynopsis> with multiple variants previously used <sbr> to break lines between variants. The new man page toolchain introduced in 9.0 makes a mess out of that, and that markup was probably wrong all along, because <sbr> is supposed to break lines within a synopsis, not between them. So fix that by using multiple <cmdsynopsis> elements inside <refsynopsisdiv>. backpatched to 9.0
Diffstat (limited to 'doc/src/sgml/ref/pg_ctl-ref.sgml')
-rw-r--r--doc/src/sgml/ref/pg_ctl-ref.sgml26
1 files changed, 16 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 6eaa950c1e3..196f08fa5f6 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -21,14 +21,14 @@ PostgreSQL documentation
<refsynopsisdiv>
<cmdsynopsis>
-
<command>pg_ctl</command>
<arg choice="plain">init[db]</arg>
<arg>-s</arg>
<arg>-D <replaceable>datadir</replaceable></arg>
<arg>-o <replaceable>options</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">start</arg>
<arg>-w</arg>
@@ -39,8 +39,9 @@ PostgreSQL documentation
<arg>-o <replaceable>options</replaceable></arg>
<arg>-p <replaceable>path</replaceable></arg>
<arg>-c</arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">stop</arg>
<arg>-W</arg>
@@ -54,8 +55,9 @@ PostgreSQL documentation
<arg>i[mmediate]</arg>
</group>
</arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">restart</arg>
<arg>-w</arg>
@@ -71,25 +73,29 @@ PostgreSQL documentation
</group>
</arg>
<arg>-o <replaceable>options</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">reload</arg>
<arg>-s</arg>
<arg>-D <replaceable>datadir</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">status</arg>
<arg>-D <replaceable>datadir</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">kill</arg>
<arg><replaceable>signal_name</replaceable></arg>
<arg><replaceable>process_id</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">register</arg>
<arg>-N <replaceable>servicename</replaceable></arg>
@@ -99,12 +105,12 @@ PostgreSQL documentation
<arg>-w</arg>
<arg>-t <replaceable>seconds</replaceable></arg>
<arg>-o <replaceable>options</replaceable></arg>
- <sbr>
+ </cmdsynopsis>
+ <cmdsynopsis>
<command>pg_ctl</command>
<arg choice="plain">unregister</arg>
<arg>-N <replaceable>servicename</replaceable></arg>
-
</cmdsynopsis>
</refsynopsisdiv>