diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-02-08 17:40:29 +0100 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-02-08 17:40:29 +0100 |
commit | 5c8754abbe64c716f6c6679f340f93f9a2f10a03 (patch) | |
tree | 8540b98ff582acd4d244ef95b949e1a2e1770e78 | |
parent | 9e84fe79e1d6b7c5093f2ea06be745d309952c45 (diff) |
man page updated
-p and -u flags integrated
-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" |