diff options
-rw-r--r-- | rpt.1.in | 41 |
1 files changed, 14 insertions, 27 deletions
@@ -1,6 +1,4 @@ -.\" Written by Tristan Riehs. -.\" This file is part of repeat and is licensed under the MIT License. -.TH repeat @VERSION@ 2023-09-27 +.TH repeat "@VERSION@" "2023-09-27" .SH NAME repeat \- repeat a shell command @@ -9,28 +7,20 @@ repeat \- repeat a shell command .B rpt [ .B \-n -| -.B \-\-count .I COUNT ] [ .B \-f -| -.B \-\-force ] .I COMMAND .B rpt [ .B \-h -| -.B \-\-help ] .B rpt [ -.B \-V -| -.B \-\-version +.B \-v ] .SH DESCRIPTION @@ -42,33 +32,29 @@ it is given to .IR COMMAND . .SH OPTIONS -.BR \-h , -.B \-\-help -.RS +.TP +.B \-h Display help. -.RE +.PP -.BR \-V , -.B \-\-version -.RS +.TP +.B \-v Display version. -.RE +.PP -.BR \-n , -.B \-\-count +.TP +.B \-n .I COUNT -.RS Repeat .I COMMAND COUNT times. If this flag is not given, .I COMMAND is invoked once. -.RE +.PP -.BR \-f , -.B \-\-force -.RS +.TP +.B \-f By default, .B rpt stops whenever @@ -79,6 +65,7 @@ If the flag is set, .B rpt ignores errors. +.PP .SH "EXIT STATUS" When a subprocess exit abnormally and the |