git: 97d395d91025 - main - Tcopy: add -r option to usage()

From: Poul-Henning Kamp <phk_at_FreeBSD.org>
Date: Thu, 02 Oct 2025 08:25:09 UTC
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);
 }