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:
parent
42f851d958
commit
760ddd8c1e
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user