File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
A prebuilt [ release] [ github-release-link ] binary can be downloaded by running:
16
16
17
17
``` 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
19
19
$ tar -xf retry-linux-amd64.tar.gz
20
20
$ sudo install retry /usr/bin/retry
21
21
```
@@ -47,14 +47,15 @@ This tool is an attempt to solve that broader problem. ⏰
47
47
### Help!
48
48
49
49
``` bash
50
- $ retry -help
51
50
Usage: retry [flags] command| url
52
51
-attempts int
53
52
maximum number of attempts (default 3)
54
53
-backoff
55
54
use exponential backoff when sleeping
56
55
-consecutive int
57
56
required number of back to back successes
57
+ -invert
58
+ wait for task to fail rather than succeed
58
59
-jitter duration
59
60
time range randomly added to sleep
60
61
-max-time duration
@@ -66,7 +67,7 @@ Usage: retry [flags] command|url
66
67
-task-time duration
67
68
maximum time for a single attempt
68
69
-version
69
- print the version " 1.0 .0" and exit
70
+ print the version " 1.1 .0" and exit
70
71
```
71
72
72
73
### Running a command
You can’t perform that action at this time.
0 commit comments