From 96fd02663c3175209382ab27fdaa7d157880798d Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sat, 11 Nov 2023 20:59:38 +0100 Subject: manual page improved --- rpt.1 | 14 +++++++++++--- rpt.c | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/rpt.1 b/rpt.1 index e906855..1e0e4ef 100644 --- a/rpt.1 +++ b/rpt.1 @@ -36,6 +36,7 @@ rpt \- repeat a shell command .SH DESCRIPTION .B rpt allows you to easily repeat a command a certain number of times. +The command is repeated sequentially. .SH OPTIONS .BR \-h , @@ -77,6 +78,12 @@ flag is set, ignores errors. .SH "EXIT STATUS" +When a subprocess exit abnormally and the +.B force +flag is not given, +.B rpt +exits with the same status as the subprocess. + 1. Invalid option. 2. Error while reading @@ -92,15 +99,16 @@ is missing. .I COMMAND not provided. +4. Other error. + .SH FILES None. .SH "SEE ALSO" .BR seq (1) +.BR test (1) .SH BUGS -Please report bugs at -.IR https://gitlab.com/tristanriehs/repeat . .SH AUTHOR -Tristan Riehs +Tristan Riehs diff --git a/rpt.c b/rpt.c index 6642491..ce3260c 100644 --- a/rpt.c +++ b/rpt.c @@ -10,7 +10,7 @@ #include #include -#define VERSION "1.0.0" +#define VERSION "1.1.1" /* Size of the buffer used to clone stdin. */ #define BUFSIZE 8000 -- cgit v1.2.3