diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-10-12 05:45:01 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-10-12 05:45:01 +0000 |
commit | 1e4091ec2bd2292cb53816770addb448e50ea840 (patch) | |
tree | fe678a515c7f2b00110ee3e2c1324dcaa70af27e | |
parent | 1f93c9711215aafc2804d708f4d66cb239cdb538 (diff) | |
download | FreeBSD-src-1e4091ec2bd2292cb53816770addb448e50ea840.zip FreeBSD-src-1e4091ec2bd2292cb53816770addb448e50ea840.tar.gz |
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
-rw-r--r-- | usr.bin/showmount/showmount.8 | 6 | ||||
-rw-r--r-- | usr.bin/showmount/showmount.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/showmount/showmount.8 b/usr.bin/showmount/showmount.8 index 9887c99..0e7f25d 100644 --- a/usr.bin/showmount/showmount.8 +++ b/usr.bin/showmount/showmount.8 @@ -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 diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c index 0b6846a..d8b6217 100644 --- a/usr.bin/showmount/showmount.c +++ b/usr.bin/showmount/showmount.c @@ -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); } |