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
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);
}