diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2023-01-12 14:08:40 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2023-01-12 14:08:40 +0000 |
commit | b7f1e7ffa270535ad2e53ff4e865079416d464ba (patch) | |
tree | 99520927cbc32f8db7a9681028ac3f030376fc88 /usr.bin/timeout/timeout.1 | |
parent | 61956b7d350ca70795cd9ec283c3768e7a494cb0 (diff) |
diff from sobrado to use a full argument name for -s: after some discussion
we used "signal", as per pkill/pgrep; also lift the descriptive text
from kill.1 to clarify that both signal name and number are accepted;
ok sobrado job
Diffstat (limited to 'usr.bin/timeout/timeout.1')
-rw-r--r-- | usr.bin/timeout/timeout.1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/timeout/timeout.1 b/usr.bin/timeout/timeout.1 index a44d64aa141..d99ceac62e9 100644 --- a/usr.bin/timeout/timeout.1 +++ b/usr.bin/timeout/timeout.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: timeout.1,v 1.6 2023/01/10 21:10:37 jmc Exp $ +.\" $OpenBSD: timeout.1,v 1.7 2023/01/12 14:08:39 jmc Exp $ .\" $NetBSD: timeout.1,v 1.4 2016/10/13 06:22:26 dholland Exp $ .\" .\" Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org> @@ -27,7 +27,7 @@ .\" .\" $FreeBSD: head/usr.bin/timeout/timeout.1 268861 2014-07-18 22:56:59Z bapt $ .\" -.Dd $Mdocdate: January 10 2023 $ +.Dd $Mdocdate: January 12 2023 $ .Dt TIMEOUT 1 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nm .Op Fl fp .Op Fl k Ar time -.Op Fl s Ar sig +.Op Fl s Ar signal .Ar duration .Ar command .Op Ar arg ... @@ -67,8 +67,9 @@ after the first signal was sent. Always exit with the same status as .Ar command , even if the timeout was reached. -.It Fl s Ar sig , Fl -signal Ns = Ns Ar sig -Specify the signal to send on timeout, instead of the default +.It Fl s Ar signal , Fl -signal Ns = Ns Ar signal +A non-negative decimal number or symbolic signal name specifying +the signal to send on timeout, instead of the default .Dv SIGTERM . .El .Sh DURATION FORMAT |