diff options
Diffstat (limited to 'rpt.1.in')
-rw-r--r-- | rpt.1.in | 40 |
1 files changed, 34 insertions, 6 deletions
@@ -13,16 +13,17 @@ repeat \- repeat a shell command .I COUNT ] [ .B \-f +| +.B \-u +] [ +.B \-p ] .I COMMAND .B rpt [ .B \-h -] - -.B rpt -[ +| .B \-v ] @@ -37,12 +38,12 @@ it is given to .SH OPTIONS .TP .B \-h -Display help. +Display help and exit. .PP .TP .B \-v -Display version. +Display version and exit. .PP .TP @@ -68,6 +69,33 @@ If the flag is set, .B rpt ignores errors. +Icompatible with the +.B \-u +flag. +.PP + +.TP +.B \-u +Repeat +.I COMMAND +until it fails. +Incompatible with the +.B \-f +flag. +Giving this option is equivalent to specifying +.B \-n +.IR LONG_MAX , +where +.I LONG_MAX +is the maximum value a C99 +.B long int +can hold, provided as a macro by +.BR limits.h (0p). +Therefore, the +.B \-u +and the +.B \-n +option suppress each other behavior. .PP .SH "EXIT STATUS" |