git: e7c13cf4383d - main - script: Add usage string for playback mode.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Oct 2022 14:46:39 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=e7c13cf4383d8216149becf7f843a2e00b30d2e2
commit e7c13cf4383d8216149becf7f843a2e00b30d2e2
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2022-10-26 18:12:02 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2022-10-27 14:46:15 +0000
script: Add usage string for playback mode.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D37138
---
usr.bin/script/script.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c
index e947bac17f2e..3d5b3231182e 100644
--- a/usr.bin/script/script.c
+++ b/usr.bin/script/script.c
@@ -367,6 +367,8 @@ usage(void)
{
(void)fprintf(stderr,
"usage: script [-adFfkpqr] [-t time] [file [command ...]]\n");
+ (void)fprintf(stderr,
+ " script -p [-deq] [file]\n");
exit(1);
}