Skip to content

Commit

Permalink
nfsstat: update option strings in docs
Browse files Browse the repository at this point in the history
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:	freebsd/freebsd-src#958
  • Loading branch information
llfw authored and bsdjhb committed Mar 13, 2024
2 parents 714df41 + 30ce26c commit 40daddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions usr.bin/nfsstat/nfsstat.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion usr.bin/nfsstat/nfsstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 40daddc

Please sign in to comment.