aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-02-03 18:51:56 +0100
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-02-03 18:51:56 +0100
commitdecf957b74f1a20d529177afe088d0e1c8b39950 (patch)
treedf9a34be20fb5d96a1515ca18c4dcbd702dc30f3
parent7257ecd8d4b2bc8908dc39330f34f32dc6a7a807 (diff)
manual page no longer contain long options
-rw-r--r--rpt.1.in41
1 files changed, 14 insertions, 27 deletions
diff --git a/rpt.1.in b/rpt.1.in
index b7c70ea..469a16d 100644
--- a/rpt.1.in
+++ b/rpt.1.in
@@ -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