Replace "\--" with "--" in documentation.

"\--" in the documentation was for asciidoc, in which "--"s won't work.
Asciidoctor doesn't have such a problem and will output "\--" verbatim.

Change-Id: I41419b037a10bd830f660d7295aea0d442504229
This commit is contained in:
Yuxuan 'fishy' Wang 2013-12-09 15:43:25 -08:00 committed by David Pursehouse
parent a2e9e6b635
commit 77e1508a0d
5 changed files with 29 additions and 29 deletions

View File

@ -61,7 +61,7 @@ testing site for development use:
----
Accept defaults by pressing Enter until 'init' completes, or add
the '\--batch' command line option to avoid them entirely. It is
the '--batch' command line option to avoid them entirely. It is
recommended to change the listen addresses from '*' to 'localhost' to
prevent outside connections from contacting the development instance.

View File

@ -37,11 +37,11 @@ OPTIONS
-------
-d::
\--site-path::
--site-path::
Location of the gerrit.config file, and all other per-site
configuration data, supporting libraries and log files.
\--threads::
--threads::
Number of threads to perform the scan work with. Defaults to
twice the number of CPUs available.

View File

@ -10,12 +10,12 @@ SYNOPSIS
[verse]
'java' -jar gerrit.war 'daemon'
-d <SITE_PATH>
[\--enable-httpd | \--disable-httpd]
[\--enable-sshd | \--disable-sshd]
[\--console-log]
[\--slave]
[\--headless]
[\--init]
[--enable-httpd | --disable-httpd]
[--enable-sshd | --disable-sshd]
[--console-log]
[--slave]
[--headless]
[--init]
DESCRIPTION
-----------
@ -33,38 +33,38 @@ OPTIONS
-------
-d::
\--site-path::
--site-path::
Location of the gerrit.config file, and all other per-site
configuration data, supporting libraries and log files.
\--enable-httpd::
\--disable-httpd::
--enable-httpd::
--disable-httpd::
Enable (or disable) the internal HTTP daemon, answering
web requests. Enabled by default.
\--enable-sshd::
\--disable-sshd::
--enable-sshd::
--disable-sshd::
Enable (or disable) the internal SSH daemon, answering SSH
clients and remotely executed commands. Enabled by default.
\--slave::
--slave::
Run in slave mode, permitting only read operations
by clients. Commands which modify state such as
link:cmd-receive-pack.html[receive-pack] (creates new changes
or updates existing ones) or link:cmd-review.html[review]
(sets approve marks) are disabled.
+
This option automatically implies '\--disable-httpd \--enable-sshd'.
This option automatically implies '--disable-httpd --enable-sshd'.
\--console-log::
--console-log::
Send log messages to the console, instead of to the standard
log file '$site_path/logs/error_log'.
\--headless::
--headless::
Don't start the default Gerrit UI. May be useful when Gerrit is
run with an alternative UI.
\--init::
--init::
Run init before starting the daemon. This will create a new site or
upgrade an existing site.

View File

@ -24,7 +24,7 @@ OPTIONS
-------
-d::
\--site-path::
--site-path::
Location of the gerrit.config file, and all other per-site
configuration data, supporting libraries and log files.

View File

@ -10,10 +10,10 @@ SYNOPSIS
[verse]
'java' -jar gerrit.war 'init'
-d <SITE_PATH>
[\--batch]
[\--no-auto-start]
[\--list-plugins]
[\--install-plugin=<PLUGIN_NAME>]
[--batch]
[--no-auto-start]
[--list-plugins]
[--install-plugin=<PLUGIN_NAME>]
DESCRIPTION
-----------
@ -26,7 +26,7 @@ as necessary.
OPTIONS
-------
\--batch::
--batch::
Run in batch mode, skipping interactive prompts. Reasonable
configuration defaults are chosen based on the whims of
the Gerrit developers.
@ -36,21 +36,21 @@ are detected they are *not* automatically dropped, but only a list of
SQL statements to drop these objects is provided. To drop the unused
objects these SQL statements have to be executed manually.
\--no-auto-start::
--no-auto-start::
Don't automatically start the daemon after initializing a
newly created site path. This permits the administrator
to inspect and modify the configuration before the daemon
is started.
-d::
\--site-path::
--site-path::
Location of the gerrit.config file, and all other per-site
configuration data, supporting libraries and log files.
\--list-plugins::
--list-plugins::
Print names of plugins that can be installed during init process.
\--install-plugin:
--install-plugin:
Automatically install plugin with given name without asking.
CONTEXT