Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137708921
D37138.id112230.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37138.id112230.diff
View Options
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1
--- a/usr.bin/script/script.1
+++ b/usr.bin/script/script.1
@@ -28,7 +28,7 @@
.\" @(#)script.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd March 9, 2022
+.Dd October 26, 2022
.Dt SCRIPT 1
.Os
.Sh NAME
@@ -36,8 +36,7 @@
.Nd make typescript of terminal session
.Sh SYNOPSIS
.Nm
-.Op Fl aefkqr
-.Op Fl F Ar pipe
+.Op Fl aeFfkqr
.Op Fl t Ar time
.Op Ar file Op Ar command ...
.Nm
@@ -88,7 +87,7 @@
.Nm .
The child command exit status is always the exit status of
.Nm .
-.It Fl F Ar pipe
+.It Fl F
Immediately flush output after each write.
This will allow a user to create a named pipe using
.Xr mkfifo 1
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c
--- a/usr.bin/script/script.c
+++ b/usr.bin/script/script.c
@@ -366,7 +366,9 @@
usage(void)
{
(void)fprintf(stderr,
- "usage: script [-adfkpqr] [-t time] [file [command ...]]\n");
+ "usage: script [-adFfkpqr] [-t time] [file [command ...]]\n");
+ (void)fprintf(stderr,
+ " script -p [-deq] [file]\n");
exit(1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 2:13 AM (6 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26195268
Default Alt Text
D37138.id112230.diff (1 KB)
Attached To
Mode
D37138: script: Correct -F in man page and usage string. Sponsored by: Klara, Inc. MFC after: 1 week script: Add usage string for playback mode. Sponsored by: Klara, Inc.
Attached
Detach File
Event Timeline
Log In to Comment