aboutsummaryrefslogtreecommitdiff
path: root/man/man1/try.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-12 20:32:14 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-12 20:32:14 +1300
commitf4f5db1808fea333ff11d3408500fee403c4e63d (patch)
tree660d355f0ea1bb178092665a8a9ec4e47e57ffa6 /man/man1/try.1
parentCorrect default for try(1) attempt count (diff)
downloaddotfiles-f4f5db1808fea333ff11d3408500fee403c4e63d.tar.gz
dotfiles-f4f5db1808fea333ff11d3408500fee403c4e63d.zip
Add -i option to try(1)
Diffstat (limited to 'man/man1/try.1')
-rw-r--r--man/man1/try.19
1 files changed, 5 insertions, 4 deletions
diff --git a/man/man1/try.1 b/man/man1/try.1
index 482872fb..380c0a29 100644
--- a/man/man1/try.1
+++ b/man/man1/try.1
@@ -3,14 +3,15 @@
.B try
\- attempt a command up to a certain number of times until it succeeds
.SH USAGE
-.B try [-hv] [-n ATTEMPTS] [--] COMMAND...
+.B try [-hv] [-i INTERVAL] [-n ATTEMPTS] [--] COMMAND...
.SH DESCRIPTION
Runs the given command up to a fixed number of times until it exits zero. If
all attempts fail, writes buffered error output from all attempts to stderr.
.P
-Option -h gives help, option -v turns on verbose output, option -n specifies
-the number of attempts; defaults to 3. Options may be terminated with --. The
-remaining arguments are the command to run.
+Option -h gives help, option -v turns on verbose output, option -i specifies an
+optional number of seconds between attempts, and option -n specifies the number
+of attempts; defaults to 3. Options may be terminated with --. The remaining
+arguments are the command to run.
.P
$ try getmails
$ try -v -n3 maybe