Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 10:45:44 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a54abe119e3b - main - truncate(1): Fix missing -d option manpage
Message-ID:  <202108191045.17JAjiv5083875@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by khng:

URL: https://cgit.FreeBSD.org/src/commit/?id=a54abe119e3b4c6e000a1058afab4904d205850b

commit a54abe119e3b4c6e000a1058afab4904d205850b
Author:     Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2021-08-19 10:45:25 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-08-19 10:45:25 +0000

    truncate(1): Fix missing -d option manpage
    
    Mention that either one of the -r, -s and -d options must be specified.
    
    Sponsored by:   The FreeBSD Foundation
---
 usr.bin/truncate/truncate.1 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/usr.bin/truncate/truncate.1 b/usr.bin/truncate/truncate.1
index 54780ccbca83..0ea224deaff5 100644
--- a/usr.bin/truncate/truncate.1
+++ b/usr.bin/truncate/truncate.1
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 18, 2021
+.Dd August 19, 2021
 .Dt TRUNCATE 1
 .Os
 .Sh NAME
@@ -158,9 +158,10 @@ Kilobytes, Megabytes, Gigabytes or Terabytes
 respectively.
 .Pp
 Exactly one of the
-.Fl r
-and
+.Fl r ,
 .Fl s
+and
+.Fl d
 options must be specified.
 .Pp
 If a file is made smaller, its extra data is lost.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108191045.17JAjiv5083875>