File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1515A prebuilt [ release] [ github-release-link ] binary can be downloaded by running:
1616
1717``` bash
18- $ wget -q https://github.com/joshdk/retry/releases/download/v1.0 .0/retry-linux-amd64.tar.gz
18+ $ wget -q https://github.com/joshdk/retry/releases/download/v1.1 .0/retry-linux-amd64.tar.gz
1919$ tar -xf retry-linux-amd64.tar.gz
2020$ sudo install retry /usr/bin/retry
2121```
@@ -47,14 +47,15 @@ This tool is an attempt to solve that broader problem. ⏰
4747### Help!
4848
4949``` bash
50- $ retry -help
5150Usage: retry [flags] command| url
5251 -attempts int
5352 maximum number of attempts (default 3)
5453 -backoff
5554 use exponential backoff when sleeping
5655 -consecutive int
5756 required number of back to back successes
57+ -invert
58+ wait for task to fail rather than succeed
5859 -jitter duration
5960 time range randomly added to sleep
6061 -max-time duration
@@ -66,7 +67,7 @@ Usage: retry [flags] command|url
6667 -task-time duration
6768 maximum time for a single attempt
6869 -version
69- print the version " 1.0 .0" and exit
70+ print the version " 1.1 .0" and exit
7071```
7172
7273### Running a command
You can’t perform that action at this time.
0 commit comments