git: 3ddd961db1ce - main - mount_nfs(8): Indicate that the -t option is deprecated

From: Benedict Reuschling <bcr_at_FreeBSD.org>
Date: Sun, 08 Oct 2023 13:58:11 UTC
The branch main has been updated by bcr:

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

commit 3ddd961db1ce8d9285e4d630bf6bfd5b99042a03
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-10-08 13:47:24 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2023-10-08 13:57:47 +0000

    mount_nfs(8): Indicate that the -t option is deprecated
    
    In mount_nfs.c the -t option is deprecated and advises to use
    timeout=<N> instead. However, since that refers to NFS over UDP, which
    is not used nowadays, mark this option as deprecated in the man page.
    
    PR:             260611
    Suggested by:   rmacklem
---
 sbin/mount_nfs/mount_nfs.8 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 7afbc6f691a0..d7b1ffdb7543 100644
--- a/sbin/mount_nfs/mount_nfs.8
+++ b/sbin/mount_nfs/mount_nfs.8
@@ -27,7 +27,7 @@
 .\"
 .\"	@(#)mount_nfs.8	8.3 (Berkeley) 3/29/95
 .\"
-.Dd June 14, 2023
+.Dd October 8, 2023
 .Dt MOUNT_NFS 8
 .Os
 .Sh NAME
@@ -635,6 +635,7 @@ Same as
 .It Fl t
 Same as
 .Fl o Cm retransmit Ns = Ns Aq Ar value
+(deprecated)
 .It Fl w
 Same as
 .Fl o Cm wsize Ns = Ns Aq Ar value