diff options
| author | Lexi Winter <lexi@le-fay.org> | 2023-12-27 17:30:31 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2023-12-27 17:57:59 +0000 |
| commit | 30ce26cacfd626552c647c9327dd510e7f421d97 (patch) | |
| tree | 03623d5fa906bc968308f13268510925901bce7c | |
| parent | 2391e536c01cb51d2a2c11a0f5820481314e9ec2 (diff) | |
| download | src-30ce26cacfd626552c647c9327dd510e7f421d97.tar.gz src-30ce26cacfd626552c647c9327dd510e7f421d97.zip | |
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
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/958
| -rw-r--r-- | usr.bin/nfsstat/nfsstat.1 | 4 | ||||
| -rw-r--r-- | 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 8d4bdd2646d6..6b062866ce5a 100644 --- a/usr.bin/nfsstat/nfsstat.1 +++ b/usr.bin/nfsstat/nfsstat.1 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd June 5, 2023 +.Dd December 27, 2023 .Dt NFSSTAT 1 .Os .Sh NAME @@ -36,7 +36,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 7802754cc0c7..8c4df61b0482 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -500,7 +500,7 @@ static void usage(void) { (void)fprintf(stderr, - "usage: nfsstat [-cdemszW] [-w wait]\n"); + "usage: nfsstat [-cdEemqszW] [-w wait]\n"); exit(1); } |
