From ef9fc2e54038bd487a866ee1ea9c5d17ffe867c9 Mon Sep 17 00:00:00 2001 From: op Date: Sat, 10 Jun 2023 07:19:39 +0000 Subject: [PATCH] test: fix description of -t: it has no default -t always requires the fd number as argument, there's no default. With only one argument -t is equivalent to `test -n -t' and so banally always true. diff from Lucas (lucas [at] sexy [dot] is) ok millert@ --- bin/test/test.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/test/test.1 b/bin/test/test.1 index 6af8fcb7149..2371acddad2 100644 --- a/bin/test/test.1 +++ b/bin/test/test.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: test.1,v 1.33 2016/08/16 18:51:25 schwarze Exp $ +.\" $OpenBSD: test.1,v 1.34 2023/06/10 07:19:39 op Exp $ .\" $NetBSD: test.1,v 1.6 1995/03/21 07:04:03 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)test.1 8.1 (Berkeley) 5/31/93 .\" -.Dd $Mdocdate: August 16 2016 $ +.Dd $Mdocdate: June 10 2023 $ .Dt TEST 1 .Os .Sh NAME @@ -153,7 +153,7 @@ than zero. True if the file whose file descriptor number is .Ar file_descriptor -(default 1) is open and is associated with a terminal. +is open and is associated with a terminal. .It Fl u Ar file True if .Ar file -- 2.20.1