Author | Jamozed <[email protected]> |
Date | 2020-11-17 00:22:30 |
Commit | 1086f2efe3f8e6d1c6ac9c24ecd8cef3eb1776d2 |
Parent | 5cf73ae96ed55ba41ea67f910afd2ec9367a23d6 |
orphan: Improve language used in documentation
Diffstat
M | README.md | | | 2 | +- |
M | man/orphan.1 | | | 8 | ++++---- |
M | src/orphan.c | | | 6 | +++--- |
3 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md index 25c0003..2d1f01c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ UNIX-like systems. | logname | Return the user's login name | POSIX | | mkdir | Make directories | POSIX | | nice | Invoke with an altered nice value | POSIX | -| orphan | Execute commands as orphans | | +| orphan | Invoke a command as an orphan | | | od\* | Dump files in various formats | POSIX | | pwd | Print working directory | POSIX | | rand | Generate random string | | diff --git a/man/orphan.1 b/man/orphan.1 index 32007d2..81a5328 100644 --- a/man/orphan.1 +++ b/man/orphan.1 @@ -1,10 +1,10 @@ -.TH ORPHAN 1 2020-08-05 "OMKOV coreutils" "General Commands Manual" +.TH ORPHAN 1 2020-11-17 "OMKOV coreutils" "General Commands Manual" .SH NAME -orphan \(em execute commands as orphans +orphan \(em invoke a command as an orphan .SH SYNOPSYS \fBorphan\fR \fIcommand\fR [\fIargument\fR...] .SH DESCRIPTION -Execute \fIcommand\fR as an orphaned process. +Invoke \fIcommand\fR as an orphaned process. .SH OPTIONS The following options are supported: .TP @@ -17,7 +17,7 @@ Display version message. The following operands are supported: .TP .I command -A command to execute with the altered nice value. +A command to invoke as an orphan. .TP .I argument An argument to pass to \fIcommand\fR. diff --git a/src/orphan.c b/src/orphan.c index a9aae53..caf1ac2 100644 --- a/src/orphan.c +++ b/src/orphan.c @@ -1,4 +1,4 @@ -// orphan.c, version 1.0.0 +// orphan.c, version 1.0.1 // OMKOV coreutils orphan // Copyright (C) 2020, Jakob Wakeling // All rights reserved. @@ -39,7 +39,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. #include <errno.h> #include <stdio.h> -#define VERSION "1.0.0" +#define VERSION "1.0.1" static struct lop lops[] = { { "help", ARG_NUL, 256 }, @@ -71,7 +71,7 @@ int main(int ac, char *av[]) { A0 = av[0]; } static void hlp(void) { - puts("orphan - execute commands as orphans\n"); + puts("orphan - invoke a command as an orphan\n"); puts("usage: orphan command [argument...]\n"); puts("options:"); puts(" --help Display help information");