tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH 6/6] script.1: note -e flag



---
 script.1 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/script.1 b/script.1
index 07d01f0..6e8dc87 100644
--- a/script.1
+++ b/script.1
@@ -37,7 +37,7 @@
 .Nd make typescript of terminal session
 .Sh SYNOPSIS
 .Nm
-.Op Fl adfpqr
+.Op Fl adefpqr
 .Op Fl c Ar command
 .Op Ar file
 .Sh DESCRIPTION
@@ -75,6 +75,10 @@ associated with a tty.
 When playing back a session with the
 .Fl p
 flag, don't sleep between records when playing back a timestamped session.
+.It Fl e
+Exit with the shell-style exit status of the shell or
+.Ar command ,
+instead of always exiting successfully.
 .It Fl f
 Flush output after each write.
 This is useful for watching the script output in real time.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index