Skip to content

Commit 6c61e6f

Browse files
committed
注释中的--改成--,解决编译错误
1 parent 847a4c1 commit 6c61e6f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

postgresql/doc/src/sgml/ref/createuser.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ PostgreSQL documentation
705705
<!--
706706
In the above example, the new password isn't actually echoed when typed,
707707
but we show what was typed for clarity. As you see, the password is
708-
encrypted before it is sent to the client. If the option <option>--unencrypted</option>
708+
encrypted before it is sent to the client. If the option <option>&#045;-unencrypted</option>
709709
is used, the password <emphasis>will</> appear in the echoed command
710710
(and possibly also in the server log and elsewhere),
711711
so you don't want to use <option>-e</> in that case, if

postgresql/doc/src/sgml/ref/initdb.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ PostgreSQL documentation
141141
<!--
142142
<para>
143143
To alter the default collation order or character set classes, use the
144-
<option>--lc-collate</option> and <option>--lc-ctype</option> options.
144+
<option>&#045;-lc-collate</option> and <option>&#045;-lc-ctype</option> options.
145145
Collation orders other than <literal>C</> or <literal>POSIX</> also have
146146
a performance penalty. For these reasons it is important to choose the
147147
right locale when running <command>initdb</command>.
@@ -157,7 +157,7 @@ PostgreSQL documentation
157157
<!--
158158
<para>
159159
The remaining locale categories can be changed later when the server
160-
is started. You can also use <option>--locale</option> to set the
160+
is started. You can also use <option>&#045;-locale</option> to set the
161161
default for all locale categories, including collation order and
162162
character set classes. All server locale values (<literal>lc_*</>) can
163163
be displayed via <command>SHOW ALL</>.
@@ -174,7 +174,7 @@ PostgreSQL documentation
174174

175175
<!--
176176
<para>
177-
To alter the default encoding, use the <option>--encoding</option>.
177+
To alter the default encoding, use the <option>&#045;-encoding</option>.
178178
More details can be found in <xref linkend="multibyte">.
179179
</para>
180180
-->
@@ -347,7 +347,7 @@ PostgreSQL documentation
347347
<listitem>
348348
<!--
349349
<para>
350-
Like <option>--locale</option>, but only sets the locale in
350+
Like <option>&#045;-locale</option>, but only sets the locale in
351351
the specified category.
352352
</para>
353353
-->
@@ -362,7 +362,7 @@ PostgreSQL documentation
362362
<listitem>
363363
<!--
364364
<para>
365-
Equivalent to <option>--locale=C</option>.
365+
Equivalent to <option>&#045;-locale=C</option>.
366366
</para>
367367
-->
368368
<para>

0 commit comments

Comments
 (0)