Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2025 08:25:09 GMT
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 97d395d91025 - main - Tcopy: add -r option to usage()
Message-ID:  <202510020825.5928P9pq032271@gitrepo.freebsd.org>

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

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

commit 97d395d91025b5b652f2998c90716c253600dcd1
Author:     Poul-Henning Kamp <phk@FreeBSD.org>
AuthorDate: 2025-10-02 08:24:52 +0000
Commit:     Poul-Henning Kamp <phk@FreeBSD.org>
CommitDate: 2025-10-02 08:24:52 +0000

    Tcopy: add -r option to usage()
---
 usr.bin/tcopy/tcopy.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/usr.bin/tcopy/tcopy.cc b/usr.bin/tcopy/tcopy.cc
index 37a146376c2e..a1dd35682aac 100644
--- a/usr.bin/tcopy/tcopy.cc
+++ b/usr.bin/tcopy/tcopy.cc
@@ -580,7 +580,9 @@ getspace(size_t blk)
 static void
 usage(void)
 {
-	fprintf(stderr, "usage: tcopy [-cvx] [-s maxblk] [src [dest]]\n");
+	fprintf(stderr,
+            "usage: tcopy [-crvx] [-l logfile] [-s maxblk] [src [dest]]\n"
+        );
 	exit(1);
 }
 



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