diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml
index c13d74853e..67582fd6e6 100644
--- a/doc/src/sgml/ref/clusterdb.sgml
+++ b/doc/src/sgml/ref/clusterdb.sgml
@@ -316,7 +316,7 @@ PostgreSQL documentation
foo in a database named
xyzzy:
-$ clusterdb --table foo xyzzy
+$ clusterdb --table=foo xyzzy
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 11444e85a8..ea0a6353d8 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -263,7 +263,7 @@ PostgreSQL documentation
-
+
Specifies the file system location of the database configuration files. If
@@ -275,7 +275,7 @@ PostgreSQL documentation
-
+
Append the server log output to
@@ -288,7 +288,7 @@ PostgreSQL documentation
-
+
Specifies the shutdown mode. mode
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index 96851933cc..d46a730f66 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -558,7 +558,7 @@ rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_d
run using:
-psql --username postgres --file script.sql postgres
+psql --username=postgres --file=script.sql postgres
The scripts can be run in any order and can be deleted once they have
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml
index 713efc099b..36df949c95 100644
--- a/doc/src/sgml/ref/reindexdb.sgml
+++ b/doc/src/sgml/ref/reindexdb.sgml
@@ -396,7 +396,7 @@ PostgreSQL documentation
To reindex the table foo and the index
bar in a database named abcd:
-$ reindexdb --table foo --index bar abcd
+$ reindexdb --table=foo --index=bar abcd
diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml
index 92b8984b7a..4f6fa0d708 100644
--- a/doc/src/sgml/ref/vacuumdb.sgml
+++ b/doc/src/sgml/ref/vacuumdb.sgml
@@ -430,7 +430,7 @@ PostgreSQL documentation
xyzzy, and analyze a single column
bar of the table for the optimizer:
-$ vacuumdb --analyze --verbose --table 'foo(bar)' xyzzy
+$ vacuumdb --analyze --verbose --table='foo(bar)' xyzzy