Skip to content

Commit 9343698

Browse files
committed
README.markdown
1 parent 0a2401d commit 9343698

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.markdown

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,25 @@ In a WMF multi-instance environment, iteratively execute nodetool on all local C
5353

5454
### c-foreach-restart
5555
#### Synopsis
56-
c-foreach-restart [-h] [-r RETRIES] [-d DELAY] [--execute-post-shutdown CMD]
56+
usage: c-foreach-restart [-h] [-a ATTEMPTS] [-r RETRY]
57+
[--execute-post-shutdown CMD] [-d DELAY]
5758

58-
Cassandra instance restarter.
59+
Cassandra instance restarter
5960

6061
optional arguments:
6162
-h, --help show this help message and exit
62-
-r RETRIES, --retries RETRIES
63-
Maximum number of times to check if service is up.
64-
-d DELAY, --delay DELAY
63+
-a ATTEMPTS, --attempts ATTEMPTS
64+
Maximum number of times to check if service is up
65+
after restarting.
66+
-r RETRY, --retry RETRY
6567
Number seconds between connection attempts, in
6668
seconds.
6769
--execute-post-shutdown CMD
6870
Command to execute after Cassandra has been shutdown,
6971
and before it is started back up.
72+
-d DELAY, --delay DELAY
73+
Delay between instance restarts (defaults to no
74+
delay).
7075

7176
#### Description
7277
In a WMF multi-instance environment, iteratively restart instances.

0 commit comments

Comments
 (0)