summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-10-11 12:05:05 +0000
committerfjoe <fjoe@FreeBSD.org>2003-10-11 12:05:05 +0000
commit8f0a204f9bab012d324a4ca5a65811b0360ec4f5 (patch)
tree33ecd64cba92ac14a49670dfb579de687d1489a7 /sbin
parent9e1748c0e79988e114a5b39d894f557064598977 (diff)
downloadFreeBSD-src-8f0a204f9bab012d324a4ca5a65811b0360ec4f5.zip
FreeBSD-src-8f0a204f9bab012d324a4ca5a65811b0360ec4f5.tar.gz
Describe '-M' in usage().
PR: 57462 Submitted by: Ryuichiro Imura <imura@ryu16.org>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index a50dd15..d67e681 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -62,7 +62,7 @@ static const char rcsid[] =
/*
* XXX - no way to specify "foo=<bar>"-type options; that's what we'd
- * want for "-u", "-g", "-m", "-L", "-D", and "-W".
+ * want for "-u", "-g", "-m", "-M", "-L", "-D", and "-W".
*/
static struct mntopt mopts[] = {
MOPT_STDOPTS,
@@ -312,12 +312,14 @@ a_mask(s)
void
usage()
{
- fprintf(stderr, "%s\n%s\n",
#ifdef TRANSITION_PERIOD_HACK
- "usage: mount_msdosfs [-o options] [-u user] [-g group] [-m mask] [-s] [-l]",
- " [-9] [-L locale] [-D dos-codepage] [-W table] bdev dir");
+ fprintf(stderr, "%s\n%s\n%s\n",
+ "usage: mount_msdosfs [-o options] [-u user] [-g group] [-m mask] [-M mask]"
+ " [-s] [-l] [-9] [-L locale] [-D dos-codepage] [-W table]"
+ " bdev dir");
#else
- "usage: mount_msdosfs [-o options] [-u user] [-g group] [-m mask]",
+ fprintf(stderr, "%s\n%s\n",
+ "usage: mount_msdosfs [-o options] [-u user] [-g group] [-m mask] [-M mask]",
" [-s] [-l] [-9] [-L locale] [-D dos-codepage] bdev dir");
#endif
exit(EX_USAGE);
OpenPOWER on IntegriCloud