aboutsummaryrefslogtreecommitdiff
path: root/rpt.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpt.1.in')
-rw-r--r--rpt.1.in40
1 files changed, 34 insertions, 6 deletions
diff --git a/rpt.1.in b/rpt.1.in
index 6bb4cbb..22620a5 100644
--- a/rpt.1.in
+++ b/rpt.1.in
@@ -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"