Fix broken synopsis formatting in documentation

Most of the cmd-xxxx.txt pages were still using the legacy 'italics'
asciidoc [1], which caused the synopsis sections to render like this:

'ssh' -p <port> 'gerrit some-command'

Furthermore, the line breaks and indentations were not rendered.

Replaced the legacy 'italics" with _italics_ in all synopsis sections
and changed the block type to [verse]. Verse blocks preserve indents
and line breaks (like <pre> in HTML), but still allow text formatting.

Fixed also some other minor mistakes and formatting errors.

[1] http://asciidoctor.org/docs/migration/#migration-cheatsheet

Change-Id: I457c5e42e3758789f29541d38d6f6c2e25532897
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
This commit is contained in:
Michael Ochmann 2016-06-23 17:07:37 +02:00
parent 9ea8b684b7
commit e2d76a1c23
44 changed files with 109 additions and 61 deletions

View File

@ -4,8 +4,9 @@
gerrit apropos - Search Gerrit documentation index gerrit apropos - Search Gerrit documentation index
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit apropos' _ssh_ -p <port> <host> _gerrit apropos_
<query> <query>
-- --
@ -23,8 +24,9 @@ Note: this feature is only available if documentation index was built.
== EXAMPLES == EXAMPLES
===== ----
$ ssh -p 29418 review.example.com gerrit apropos capabilities $ ssh -p 29418 review.example.com gerrit apropos capabilities
Gerrit Code Review - /config/ REST API: Gerrit Code Review - /config/ REST API:
http://localhost:8080/Documentation/rest-api-config.html http://localhost:8080/Documentation/rest-api-config.html
@ -45,7 +47,7 @@ $ ssh -p 29418 review.example.com gerrit apropos capabilities
Gerrit Code Review - /access/ REST API: Gerrit Code Review - /access/ REST API:
http://localhost:8080/Documentation/rest-api-access.html http://localhost:8080/Documentation/rest-api-access.html
===== ----
== SEE ALSO == SEE ALSO

View File

@ -4,8 +4,9 @@
gerrit ban-commit - Bans a commit from a project's repository. gerrit ban-commit - Bans a commit from a project's repository.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit ban-commit' _ssh_ -p <port> <host> _gerrit ban-commit_
[--reason <REASON>] [--reason <REASON>]
<PROJECT> <PROJECT>
<COMMIT> ... <COMMIT> ...

View File

@ -4,10 +4,11 @@
gerrit-cherry-pick - Download and cherry pick one or more changes gerrit-cherry-pick - Download and cherry pick one or more changes
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'gerrit-cherry-pick' <remote> <changeid>... _gerrit-cherry-pick_ <remote> <changeid>...
'gerrit-cherry-pick' --continue | --skip | --abort _gerrit-cherry-pick_ --continue | --skip | --abort
'gerrit-cherry-pick' --close <remote> _gerrit-cherry-pick_ --close <remote>
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
gerrit close-connection - Close the specified SSH connection gerrit close-connection - Close the specified SSH connection
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit close-connection' <SESSION_ID> _ssh_ -p <port> <host> _gerrit close-connection_ <SESSION_ID>
[--wait] [--wait]
-- --

View File

@ -4,8 +4,9 @@
gerrit create-account - Create a new user account. gerrit create-account - Create a new user account.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit create-account' _ssh_ -p <port> <host> _gerrit create-account_
[--group <GROUP>] [--group <GROUP>]
[--full-name <FULLNAME>] [--full-name <FULLNAME>]
[--email <EMAIL>] [--email <EMAIL>]

View File

@ -4,8 +4,9 @@
gerrit create-branch - Create a new branch gerrit create-branch - Create a new branch
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit create-branch' _ssh_ -p <port> <host> _gerrit create-branch_
<PROJECT> <PROJECT>
<NAME> <NAME>
<REVISION> <REVISION>

View File

@ -4,8 +4,9 @@
gerrit create-group - Create a new account group. gerrit create-group - Create a new account group.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit create-group' _ssh_ -p <port> <host> _gerrit create-group_
[--owner <GROUP> | -o <GROUP>] [--owner <GROUP> | -o <GROUP>]
[--description <DESC> | -d <DESC>] [--description <DESC> | -d <DESC>]
[--member <USERNAME>] [--member <USERNAME>]

View File

@ -4,8 +4,9 @@
gerrit create-project - Create a new hosted project gerrit create-project - Create a new hosted project
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit create-project' _ssh_ -p <port> <host> _gerrit create-project_
[--owner <GROUP> ... | -o <GROUP> ...] [--owner <GROUP> ... | -o <GROUP> ...]
[--parent <NAME> | -p <NAME> ] [--parent <NAME> | -p <NAME> ]
[--suggest-parents | -S ] [--suggest-parents | -S ]

View File

@ -4,10 +4,11 @@
gerrit flush-caches - Flush some/all server caches from memory gerrit flush-caches - Flush some/all server caches from memory
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit flush-caches' --all _ssh_ -p <port> <host> _gerrit flush-caches_ --all
'ssh' -p <port> <host> 'gerrit flush-caches' --list _ssh_ -p <port> <host> _gerrit flush-caches_ --list
'ssh' -p <port> <host> 'gerrit flush-caches' --cache <NAME> ... _ssh_ -p <port> <host> _gerrit flush-caches_ --cache <NAME> ...
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
gerrit gc - Run the Git garbage collection gerrit gc - Run the Git garbage collection
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit gc' _ssh_ -p <port> <host> _gerrit gc_
[--all] [--all]
[--show-progress] [--show-progress]
[--aggressive] [--aggressive]

View File

@ -4,8 +4,9 @@
gerrit gsql - Administrative interface to active database gerrit gsql - Administrative interface to active database
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit gsql' _ssh_ -p <port> <host> _gerrit gsql_
[--format {PRETTY | JSON | JSON_SINGLE}] [--format {PRETTY | JSON | JSON_SINGLE}]
[-c QUERY] [-c QUERY]
-- --

View File

@ -4,8 +4,9 @@
gerrit index activate - Activate the latest index version available gerrit index activate - Activate the latest index version available
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit index activate <index>' _ssh_ -p <port> <host> _gerrit index activate <index>_
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
gerrit index changes - Index one or more changes. gerrit index changes - Index one or more changes.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit index changes' <CHANGE> [<CHANGE> ...] _ssh_ -p <port> <host> _gerrit index changes_ <CHANGE> [<CHANGE> ...]
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
gerrit index start - Start the online indexer gerrit index start - Start the online indexer
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit index start <index>' _ssh_ -p <port> <host> _gerrit index start_ <index>
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
kill - Cancel or abort a background task kill - Cancel or abort a background task
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'kill' <ID> ... _ssh_ -p <port> <host> _kill_ <ID> ...
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -6,8 +6,9 @@ gerrit logging ls-level - view the logging level
gerrit logging ls - view the logging level gerrit logging ls - view the logging level
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit logging ls-level | ls' _ssh_ -p <port> <host> _gerrit logging ls-level_ | _ls_
<NAME> <NAME>
-- --

View File

@ -6,8 +6,9 @@ gerrit logging set-level - set the logging level
gerrit logging set - set the logging level gerrit logging set - set the logging level
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit logging set-level | set' _ssh_ -p <port> <host> _gerrit logging set-level_ | _set_
<LEVEL> <LEVEL>
<NAME> <NAME>
-- --

View File

@ -4,8 +4,9 @@
gerrit ls-groups - List groups visible to caller gerrit ls-groups - List groups visible to caller
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit ls-groups' _ssh_ -p <port> <host> _gerrit ls-groups_
[--project <NAME> | -p <NAME>] [--project <NAME> | -p <NAME>]
[--user <NAME> | -u <NAME>] [--user <NAME> | -u <NAME>]
[--owned] [--owned]

View File

@ -4,8 +4,9 @@
gerrit ls-members - Show members of a given group gerrit ls-members - Show members of a given group
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit ls-members GROUPNAME' _ssh_ -p <port> <host> _gerrit ls-members_ GROUPNAME
[--recursive] [--recursive]
-- --

View File

@ -4,8 +4,9 @@
gerrit ls-projects - List projects visible to caller gerrit ls-projects - List projects visible to caller
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit ls-projects' _ssh_ -p <port> <host> _gerrit ls-projects_
[--show-branch <BRANCH> ...] [--show-branch <BRANCH> ...]
[--description | -d] [--description | -d]
[--tree | -t] [--tree | -t]

View File

@ -4,8 +4,9 @@
gerrit ls-user-refs - List refs visible to a specific user gerrit ls-user-refs - List refs visible to a specific user
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit ls-user-refs' _ssh_ -p <port> <host> _gerrit ls-user-refs_
[--project PROJECT> | -p <PROJECT>] [--project PROJECT> | -p <PROJECT>]
[--user <USER> | -u <USER>] [--user <USER> | -u <USER>]
[--only-refs-heads] [--only-refs-heads]

View File

@ -4,8 +4,9 @@
plugin enable - Enable plugins. plugin enable - Enable plugins.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit plugin enable' _ssh_ -p <port> <host> _gerrit plugin enable_
<NAME> ... <NAME> ...
-- --

View File

@ -6,8 +6,9 @@ plugin install - Install/Add a plugin.
plugin add - Install/Add a plugin. plugin add - Install/Add a plugin.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit plugin install | add' _ssh_ -p <port> <host> _gerrit plugin install_ | _add_
[--name <NAME> | -n <NAME>] [--name <NAME> | -n <NAME>]
- | <URL> | <PATH> - | <URL> | <PATH>
-- --

View File

@ -4,8 +4,9 @@
plugin ls - List the installed plugins. plugin ls - List the installed plugins.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit plugin ls' _ssh_ -p <port> <host> _gerrit plugin ls_
[--all | -a] [--all | -a]
[--format {text | json | json_compact}] [--format {text | json | json_compact}]
-- --

View File

@ -4,8 +4,9 @@
plugin reload - Reload/Restart plugins. plugin reload - Reload/Restart plugins.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit plugin reload' _ssh_ -p <port> <host> _gerrit plugin reload_
<NAME> ... <NAME> ...
-- --

View File

@ -6,8 +6,9 @@ plugin remove - Disable plugins.
plugin rm - Disable plugins. plugin rm - Disable plugins.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit plugin remove | rm' _ssh_ -p <port> <host> _gerrit plugin remove_ | _rm_
<NAME> ... <NAME> ...
-- --

View File

@ -4,8 +4,9 @@
gerrit query - Query the change database gerrit query - Query the change database
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit query' _ssh_ -p <port> <host> _gerrit query_
[--format {TEXT | JSON}] [--format {TEXT | JSON}]
[--current-patch-set] [--current-patch-set]
[--patch-sets | --all-approvals] [--patch-sets | --all-approvals]

View File

@ -4,8 +4,9 @@
git-receive-pack - Receive what is pushed into the repository git-receive-pack - Receive what is pushed into the repository
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'git receive-pack' _git receive-pack_
[--reviewer <address> | --re <address>] [--reviewer <address> | --re <address>]
[--cc <address>] [--cc <address>]
<project> <project>

View File

@ -4,8 +4,9 @@
gerrit rename-group - Rename an account group. gerrit rename-group - Rename an account group.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit rename-group' _ssh_ -p <port> <host> _gerrit rename-group_
<GROUP> <GROUP>
<NEWNAME> <NEWNAME>
-- --

View File

@ -1,12 +1,12 @@
gerrit review = gerrit review
==============
== NAME == NAME
gerrit review - Apply reviews to one or more patch sets gerrit review - Apply reviews to one or more patch sets
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit review' _ssh_ -p <port> <host> _gerrit review_
[--project <PROJECT> | -p <PROJECT>] [--project <PROJECT> | -p <PROJECT>]
[--branch <BRANCH> | -b <BRANCH>] [--branch <BRANCH> | -b <BRANCH>]
[--message <MESSAGE> | -m <MESSAGE>] [--message <MESSAGE> | -m <MESSAGE>]

View File

@ -4,13 +4,15 @@
gerrit set-account - Change an account's settings. gerrit set-account - Change an account's settings.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
set-account [--full-name <FULLNAME>] [--active|--inactive] \ _ssh_ -p <port> <host> _gerrit set-account_
[--add-email <EMAIL>] [--delete-email <EMAIL> | ALL] \ [--full-name <FULLNAME>] [--active|--inactive]
[--preferred-email <EMAIL>] \ [--add-email <EMAIL>] [--delete-email <EMAIL> | ALL]
[--add-ssh-key - | <KEY>] \ [--preferred-email <EMAIL>]
[--delete-ssh-key - | <KEY> | ALL] \ [--add-ssh-key - | <KEY>]
[--http-password <PASSWORD>] \ [--delete-ssh-key - | <KEY> | ALL]
[--http-password <PASSWORD>]
[--clear-http-password] <USER> [--clear-http-password] <USER>
-- --

View File

@ -4,8 +4,9 @@
gerrit set-head - Change a project's HEAD. gerrit set-head - Change a project's HEAD.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit set-head' <NAME> _ssh_ -p <port> <host> _gerrit set-head_ <NAME>
--new-head <REF> --new-head <REF>
-- --

View File

@ -4,8 +4,9 @@
gerrit set-members - Set group members gerrit set-members - Set group members
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit set-members' _ssh_ -p <port> <host> _gerrit set-members_
[--add USER ...] [--add USER ...]
[--remove USER ...] [--remove USER ...]
[--include GROUP ...] [--include GROUP ...]

View File

@ -4,8 +4,9 @@
gerrit set-project-parent - Change the project permissions are inherited from. gerrit set-project-parent - Change the project permissions are inherited from.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit set-project-parent' _ssh_ -p <port> <host> _gerrit set-project-parent_
[--parent <NAME>] [--parent <NAME>]
[--children-of <NAME>] [--children-of <NAME>]
[--exclude <NAME>] [--exclude <NAME>]

View File

@ -4,8 +4,9 @@
gerrit set-project - Change a project's settings. gerrit set-project - Change a project's settings.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit set-project' _ssh_ -p <port> <host> _gerrit set-project_
[--description <DESC> | -d <DESC>] [--description <DESC> | -d <DESC>]
[--submit-type <TYPE> | -t <TYPE>] [--submit-type <TYPE> | -t <TYPE>]
[--contributor-agreements <true|false|inherit>] [--contributor-agreements <true|false|inherit>]

View File

@ -4,8 +4,9 @@
gerrit set-reviewers - Add or remove reviewers to a change gerrit set-reviewers - Add or remove reviewers to a change
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit set-reviewers' _ssh_ -p <port> <host> _gerrit set-reviewers_
[--project <PROJECT> | -p <PROJECT>] [--project <PROJECT> | -p <PROJECT>]
[--add <REVIEWER> ... | -a <REVIEWER> ...] [--add <REVIEWER> ... | -a <REVIEWER> ...]
[--remove <REVIEWER> ... | -r <REVIEWER> ...] [--remove <REVIEWER> ... | -r <REVIEWER> ...]

View File

@ -5,8 +5,11 @@ gerrit show-caches
gerrit show-caches - Display current cache statistics gerrit show-caches - Display current cache statistics
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit show-caches' [--gc] [--show-jvm] _ssh_ -p <port> <host> _gerrit show-caches_
[--gc]
[--show-jvm]
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,10 @@
gerrit show-connections - Display active client SSH connections gerrit show-connections - Display active client SSH connections
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit show-connections' [--numeric | -n] _ssh_ -p <port> <host> _gerrit show-connections_
[--numeric | -n]
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,9 +4,10 @@
gerrit show-queue - Display the background work queues, including replication gerrit show-queue - Display the background work queues, including replication
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit show-queue' _ssh_ -p <port> <host> _gerrit show-queue_
'ssh' -p <port> <host> 'ps' _ssh_ -p <port> <host> _ps_
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,8 +4,9 @@
gerrit stream-events - Monitor events occurring in real time gerrit stream-events - Monitor events occurring in real time
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit stream-events' _ssh_ -p <port> <host> _gerrit stream-events_
-- --
== DESCRIPTION == DESCRIPTION

View File

@ -4,11 +4,12 @@
suexec - Execute a command as any registered user account suexec - Execute a command as any registered user account
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> _ssh_ -p <port>
-i SITE_PATH/etc/ssh_host_rsa_key -i SITE_PATH/etc/ssh_host_rsa_key
'"Gerrit Code Review@localhost"' "Gerrit Code Review@localhost"
'suexec' _suexec_
--as <EMAIL> --as <EMAIL>
[--from HOST:PORT] [--from HOST:PORT]
[--] [--]

View File

@ -4,8 +4,9 @@
gerrit test-submit rule - Test prolog submit rules with a chosen changeset. gerrit test-submit rule - Test prolog submit rules with a chosen changeset.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit test-submit rule' _ssh_ -p <port> <host> _gerrit test-submit_ rule
[-s] [-s]
[--no-filters] [--no-filters]
CHANGE CHANGE

View File

@ -4,8 +4,9 @@
gerrit test-submit type - Test prolog submit type with a chosen change. gerrit test-submit type - Test prolog submit type with a chosen change.
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit test-submit type' _ssh_ -p <port> <host> _gerrit test-submit_ type
[-s] [-s]
[--no-filters] [--no-filters]
CHANGE CHANGE

View File

@ -4,8 +4,9 @@
gerrit version - Show the version of the currently executing Gerrit server gerrit version - Show the version of the currently executing Gerrit server
== SYNOPSIS == SYNOPSIS
[verse]
-- --
'ssh' -p <port> <host> 'gerrit version' _ssh_ -p <port> <host> _gerrit version_
-- --
== DESCRIPTION == DESCRIPTION