From e7c13cf4383d8216149becf7f843a2e00b30d2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 26 Oct 2022 18:12:02 +0000 Subject: [PATCH] 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 e947bac17f2..3d5b3231182 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); }