Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 01:54:45 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: be908114fd62 - stable/14 - nfsstat: update option strings in docs
Message-ID:  <202401200154.40K1sjYg072488@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by asomers:

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

commit be908114fd62a0ac4e42dffae3c5fbfa0db58e43
Author:     Lexi Winter <lexi@le-fay.org>
AuthorDate: 2023-12-27 17:30:31 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2024-01-20 01:54:27 +0000

    nfsstat: update option strings in docs
    
    Add the missing -q option to the nfsstat(1) manpage SYNOPSIS (it is
    already documented in DESCRIPTION), and add the missing -E and -q
    options to the built-in usage output.
    
    PR:             275912
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/958
    
    (cherry picked from commit 30ce26cacfd626552c647c9327dd510e7f421d97)
---
 usr.bin/nfsstat/nfsstat.1 | 4 ++--
 usr.bin/nfsstat/nfsstat.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.bin/nfsstat/nfsstat.1 b/usr.bin/nfsstat/nfsstat.1
index 08f254a9613b..f51e2662636d 100644
--- a/usr.bin/nfsstat/nfsstat.1
+++ b/usr.bin/nfsstat/nfsstat.1
@@ -27,7 +27,7 @@
 .\"
 .\"     From: @(#)nfsstat.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd June 5, 2023
+.Dd December 27, 2023
 .Dt NFSSTAT 1
 .Os
 .Sh NAME
@@ -38,7 +38,7 @@ statistics
 .Sh SYNOPSIS
 .Nm
 .Op Fl -libxo
-.Op Fl cdEemszW
+.Op Fl cdEemqszW
 .Op Fl w Ar wait
 .Sh DESCRIPTION
 The
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index 11f403a9c14c..12a80c721dbd 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -512,7 +512,7 @@ static void
 usage(void)
 {
 	(void)fprintf(stderr,
-	    "usage: nfsstat [-cdemszW] [-w wait]\n");
+	    "usage: nfsstat [-cdEemqszW] [-w wait]\n");
 	exit(1);
 }
 



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