git: a54abe119e3b - main - truncate(1): Fix missing -d option manpage

Ka Ho Ng khng at FreeBSD.org
Thu Aug 19 10:45:45 UTC 2021


The branch main has been updated by khng:

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

commit a54abe119e3b4c6e000a1058afab4904d205850b
Author:     Ka Ho Ng <khng at FreeBSD.org>
AuthorDate: 2021-08-19 10:45:25 +0000
Commit:     Ka Ho Ng <khng at 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.


More information about the dev-commits-src-all mailing list