From: Peter Eisentraut Date: Mon, 30 Apr 2012 18:15:48 +0000 (+0300) Subject: Improve markup of cmdsynopsis elements X-Git-Tag: REL9_2_BETA1~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4266509c577b089627930af39f1dcd2d06b493e9;p=postgresql 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. --- diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml index 1573145b92..e0246b3bca 100644 --- a/doc/src/sgml/ref/clusterdb.sgml +++ b/doc/src/sgml/ref/clusterdb.sgml @@ -23,16 +23,16 @@ PostgreSQL documentation clusterdb connection-option - --verbose-v - --table | -t table + + table dbname clusterdb connection-option - --verbose-v - --all-a + + diff --git a/doc/src/sgml/ref/createlang.sgml b/doc/src/sgml/ref/createlang.sgml index d28cfb772a..4ca32fba39 100644 --- a/doc/src/sgml/ref/createlang.sgml +++ b/doc/src/sgml/ref/createlang.sgml @@ -30,7 +30,7 @@ PostgreSQL documentation createlang connection-option - --list-l + dbname diff --git a/doc/src/sgml/ref/droplang.sgml b/doc/src/sgml/ref/droplang.sgml index e5d02aa236..2bfdbfe888 100644 --- a/doc/src/sgml/ref/droplang.sgml +++ b/doc/src/sgml/ref/droplang.sgml @@ -30,7 +30,7 @@ PostgreSQL documentation droplang connection-option - --list-l + dbname diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index 0090f49d9f..092df33d10 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -24,9 +24,11 @@ PostgreSQL documentation initdb option - --pgdata - -D - directory + + + + + directory diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 7e54b82c06..fcc34ecb96 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -22,109 +22,109 @@ PostgreSQL documentation pg_ctl - init[db] - -s - -D datadir - -o initdb-options + + + datadir + initdb-options pg_ctl - start - -w - -t seconds - -s - -D datadir - -l filename - -o options - -p path - -c + + + seconds + + datadir + filename + options + path + pg_ctl - stop - -W - -t seconds - -s - -D datadir - -m + + + seconds + + datadir + - s[mart] - f[ast] - i[mmediate] + + + pg_ctl - restart - -w - -t seconds - -s - -D datadir - -c - -m + + + seconds + + datadir + + - s[mart] - f[ast] - i[mmediate] + + + - -o options + options pg_ctl - reload - -s - -D datadir + + + datadir pg_ctl - status - -D datadir + + datadir pg_ctl - promote - -s - -D datadir + + + datadir pg_ctl - kill + signal_name process_id pg_ctl - register - -N servicename - -U username - -P password - -D datadir - -S + + servicename + username + password + datadir + - a[uto] - d[emand] + + - -w - -t seconds - -s - -o options + + seconds + + options pg_ctl - unregister - -N servicename + + servicename diff --git a/doc/src/sgml/ref/pg_resetxlog.sgml b/doc/src/sgml/ref/pg_resetxlog.sgml index 2ff1479b4e..3a7dfb3c73 100644 --- a/doc/src/sgml/ref/pg_resetxlog.sgml +++ b/doc/src/sgml/ref/pg_resetxlog.sgml @@ -22,14 +22,14 @@ PostgreSQL documentation pg_resetxlog - -f - -n - -ooid - -x xid - -e xid_epoch - -m mxid - -O mxoff - -l timelineid,fileid,seg + + + oid + xid + xid_epoch + mxid + mxoff + timelineid,fileid,seg datadir diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml index 9caaa95266..526fd76817 100644 --- a/doc/src/sgml/ref/reindexdb.sgml +++ b/doc/src/sgml/ref/reindexdb.sgml @@ -23,21 +23,39 @@ PostgreSQL documentation reindexdb connection-option - --table | -t table - --index | -i index + + + + + + table + + + + + + + index + dbname reindexdb connection-option - --all | -a + + + + reindexdb connection-option - --system | -s + + + + dbname diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml index 89d634747d..c008611a5a 100644 --- a/doc/src/sgml/ref/vacuumdb.sgml +++ b/doc/src/sgml/ref/vacuumdb.sgml @@ -23,12 +23,13 @@ PostgreSQL documentation vacuumdb connection-option - --full-f - --freeze-F - --verbose-v - --analyze-z - --analyze-only-Z - --table | -t table + option + + + + + + table ( column [,...] ) dbname @@ -37,12 +38,11 @@ PostgreSQL documentation vacuumdb connection-option - --full-f - --freeze-F - --verbose-v - --analyze-z - --analyze-only-Z - --all-a + option + + + +