summaryrefslogtreecommitdiff
path: root/do-until.1
diff options
context:
space:
mode:
authorLars Wirzenius <liw@iki.fi>2008-05-18 19:10:23 +0300
committerLars Wirzenius <liw@iki.fi>2008-05-18 19:10:23 +0300
commite165403ab724c75904a515b45414b79c9e4869bb (patch)
treef6fe868091e3a19672f1a798b3390f3db6c13790 /do-until.1
parent3f3a80da85b20dcf1ef7f7a3a20ec97422e95691 (diff)
downloadextrautils-e165403ab724c75904a515b45414b79c9e4869bb.tar.gz
Updated the do-until manual page.
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.)