summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-01-03 21:49:38 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-01-03 21:49:38 +0000
commit9ffb5ef5d315482f0bdb09cb6d751cae4a8d313d (patch)
tree1be9a8c9a2ea611be7cff0fd788f39dd94b11577
parent586b9857542ab89b1947eae8810d0de558e1685e (diff)
note the -c runs sh -c; from nabijaczleweli
-rw-r--r--usr.bin/script/script.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1
index 7bc5593770a..aa8bb2790d8 100644
--- a/usr.bin/script/script.1
+++ b/usr.bin/script/script.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: script.1,v 1.19 2021/04/28 17:44:35 tb Exp $
+.\" $OpenBSD: script.1,v 1.20 2022/01/03 21:49:37 jmc Exp $
.\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)script.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: April 28 2021 $
+.Dd $Mdocdate: January 3 2022 $
.Dt SCRIPT 1
.Os
.Sh NAME
@@ -68,7 +68,7 @@ or
retaining the prior contents.
.It Fl c Ar command
Run
-.Ar command
+.Nm sh Fl c Ar command ,
instead of an interactive shell.
To run a command with arguments, enclose both in quotes.
.El