Clean up syntax of cmd-flush-caches.txt

Change-Id: I63784e660851050e8672e39db420d1bc361fc5c4
This commit is contained in:
David Shevitz 2018-09-24 10:24:29 -07:00 committed by David Pursehouse
parent 561753bc20
commit 3a389660d3

View File

@ -1,7 +1,7 @@
= gerrit flush-caches = gerrit flush-caches
== NAME == NAME
gerrit flush-caches - Flush some/all server caches from memory gerrit flush-caches - Flush some/all server caches from memory.
== SYNOPSIS == SYNOPSIS
[verse] [verse]
@ -58,40 +58,40 @@ This command is intended to be used in scripts.
List caches available for flushing: List caches available for flushing:
---- ----
$ ssh -p 29418 review.example.com gerrit flush-caches --list $ ssh -p 29418 review.example.com gerrit flush-caches --list
accounts accounts
diff diff
groups groups
ldap_groups ldap_groups
openid openid
projects projects
sshkeys sshkeys
web_sessions web_sessions
---- ----
Flush all caches known to the server, forcing them to recompute: Flush all caches known to the server, forcing them to recompute:
---- ----
$ ssh -p 29418 review.example.com gerrit flush-caches --all $ ssh -p 29418 review.example.com gerrit flush-caches --all
---- ----
or or
---- ----
$ ssh -p 29418 review.example.com gerrit flush-caches $ ssh -p 29418 review.example.com gerrit flush-caches
---- ----
Flush only the "sshkeys" cache, after manually editing an SSH key Flush only the "sshkeys" cache, after manually editing an SSH key
for a user: for a user:
---- ----
$ ssh -p 29418 review.example.com gerrit flush-caches --cache sshkeys $ ssh -p 29418 review.example.com gerrit flush-caches --cache sshkeys
---- ----
Flush "web_sessions", forcing all users to sign-in again: Flush "web_sessions", forcing all users to sign-in again:
---- ----
$ ssh -p 29418 review.example.com gerrit flush-caches --cache web_sessions $ ssh -p 29418 review.example.com gerrit flush-caches --cache web_sessions
---- ----
== SEE ALSO == SEE ALSO