Bug 275912 - nfsstat(1): options list is outdated
Summary: nfsstat(1): options list is outdated
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Alan Somers
URL: https://github.com/freebsd/freebsd-sr...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2023-12-24 10:10 UTC by Lexi Winter
Modified: 2024-01-21 15:47 UTC (History)
1 user (show)

See Also:


Attachments
patch (666 bytes, patch)
2023-12-24 10:10 UTC, Lexi Winter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lexi Winter freebsd_triage 2023-12-24 10:10:13 UTC
Created attachment 247225 [details]
patch

- the nfsstat(1) manual page doesn't list the -q option in SYNOPSIS
- nfsstat's built-in usage output doesn't list the -E or -q options
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-27 17:59:49 UTC
A commit in branch main references this bug:

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

commit 30ce26cacfd626552c647c9327dd510e7f421d97
Author:     Lexi Winter <lexi@le-fay.org>
AuthorDate: 2023-12-27 17:30:31 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-12-27 17:57:59 +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
    MFC after:      2 weeks
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/958

 usr.bin/nfsstat/nfsstat.1 | 4 ++--
 usr.bin/nfsstat/nfsstat.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-19 20:23:35 UTC
A commit in branch stable/13 references this bug:

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

commit 266c79883a7e1653f80c482a6fba513c80ac5f35
Author:     Lexi Winter <lexi@le-fay.org>
AuthorDate: 2023-12-27 17:30:31 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2024-01-19 20:22:54 +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(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-01-20 01:55:16 UTC
A commit in branch stable/14 references this bug:

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(-)