The -a and -d flags are mutually exclusive, show them as such in usage() and

manual page for showmount(8)

Sponsored by:	Bright Path Solutions
MFC after:	2 weeks
This commit is contained in:
Juli Mallett 2002-10-12 05:45:01 +00:00
parent 42f851d958
commit 760ddd8c1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104966
2 changed files with 6 additions and 2 deletions

View File

@ -43,7 +43,11 @@
.Nd show remote nfs mounts on host
.Sh SYNOPSIS
.Nm
.Op Fl ade3
.Oo
.Fl a |
.Fl d
.Oc
.Op Fl e3
.Op Ar host
.Sh DESCRIPTION
The

View File

@ -373,7 +373,7 @@ xdr_exports(xdrsp, exp)
static void
usage()
{
fprintf(stderr, "usage: showmount [-ade3] host\n");
fprintf(stderr, "usage: showmount [-a | -d] [-e3] host\n");
exit(1);
}