diff options
author | ru <ru@FreeBSD.org> | 2005-02-10 09:19:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-10 09:19:34 +0000 |
commit | 719be5d34133092608f2cb4b6a8acd6cf2c403c6 (patch) | |
tree | d6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/mount_nfs4 | |
parent | 7b37822a694ba18e94110b97e574dc91753e1d6c (diff) | |
download | FreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.zip FreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.tar.gz |
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'sbin/mount_nfs4')
-rw-r--r-- | sbin/mount_nfs4/mount_nfs4.8 | 9 | ||||
-rw-r--r-- | sbin/mount_nfs4/mount_nfs4.c | 11 |
2 files changed, 8 insertions, 12 deletions
diff --git a/sbin/mount_nfs4/mount_nfs4.8 b/sbin/mount_nfs4/mount_nfs4.8 index 7400270..8ef8245 100644 --- a/sbin/mount_nfs4/mount_nfs4.8 +++ b/sbin/mount_nfs4/mount_nfs4.8 @@ -36,16 +36,13 @@ .Nd mount NFSv4 file systems .Sh SYNOPSIS .Nm -.Op Fl NPTUbcdiLls +.Op Fl biNPsTU +.Op Fl a Ar maxreadahead .Op Fl D Ar deadthresh .Op Fl I Ar readdirsize -.Op Fl R Ar retrycnt -.Op Fl a Ar maxreadahead -.Op Fl g Ar maxgroups .Op Fl o Ar options -.Op Fl r Ar readsize +.Op Fl R Ar retrycnt .Op Fl t Ar timeout -.Op Fl w Ar writesize .Op Fl x Ar retrans .Ar rhost : Ns Ar path node .Sh DESCRIPTION diff --git a/sbin/mount_nfs4/mount_nfs4.c b/sbin/mount_nfs4/mount_nfs4.c index 73e4d78..b1ad123 100644 --- a/sbin/mount_nfs4/mount_nfs4.c +++ b/sbin/mount_nfs4/mount_nfs4.c @@ -289,7 +289,7 @@ main(argc, argv) nfsargs = nfsdefargs; nfsargsp = &nfsargs; while ((c = getopt(argc, argv, - "a:bcdD:I:iNo:PR:sTt:x:U")) != -1) + "a:bD:I:iNo:PR:sTt:x:U")) != -1) switch (c) { case 'a': num = strtol(optarg, &p, 10); @@ -727,10 +727,9 @@ getnetconf_cached(const char *netid) { void usage() { - (void)fprintf(stderr, "%s\n%s\n%s\n%s\n", -"usage: mount_nfs [-KNPTUbiqs] [-D deadthresh] [-I readdirsize]", -" [-R retrycnt] [-a maxreadahead]", -" [-m realm] [-o options]", -" [-t timeout] [-x retrans] rhost:path node"); + (void)fprintf(stderr, "%s\n%s\n%s\n", +"usage: mount_nfs4 [-biNPsTU] [-a maxreadahead] [-D deadthresh] [-I readdirsize]", +" [-o options] [-R retrycnt] [-t timeout] [-x retrans]", +" rhost:path node"); exit(1); } |