From e165403ab724c75904a515b45414b79c9e4869bb Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 18 May 2008 19:10:23 +0300 Subject: Updated the do-until manual page. --- do-until.1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'do-until.1') 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.) -- cgit v1.2.1