summaryrefslogtreecommitdiff
path: root/do-until.1
diff options
context:
space:
mode:
Diffstat (limited to 'do-until.1')
-rw-r--r--do-until.129
1 files changed, 29 insertions, 0 deletions
diff --git a/do-until.1 b/do-until.1
index 16775e7..aa43aec 100644
--- a/do-until.1
+++ b/do-until.1
@@ -3,6 +3,12 @@
do-until \- repeat a command until it succeeds
.SH SYNOPSIS
.B do-until
+.RB [ -nv ]
+.RB [ --no-act ]
+.RB [ --verbose ]
+.RB [ --max-tries = \fICOUNT ]
+.RB [ --sleep = \fISECS ]
+.RB [ -- ]
.I command
.IR arg ...
.SH DESCRIPTION
@@ -30,3 +36,26 @@ If this matters, you may need to invoke the command you need via
"sh -c 'foo > bar'"
or some similar incantation.
See your shell manual for details.
+.SH OPTIONS
+.TP
+.BR -h ", " --help
+Write out a short usage summary.
+.TP
+.BR -n ", " --no-act
+Do not run the command, just pretend to run it.
+Also pretend it always succeeds.
+.TP
+.BR -v ", " --verbose
+Write the command out before executing it.
+.TP
+.BR --sleep =\fISECS
+Wait
+.I SECS
+seconds before re-trying a command.
+(Default is 1.)
+.TP
+.BR --max-tries =\fICOUNT
+Try at most
+COUNT
+times, with 0 meaning forever.
+(Default is 0.)