* mount.cc (longopts): Add help to options list.

(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.
This commit is contained in:
Christopher Faylor 2001-04-16 02:51:03 +00:00
parent 4535e6a9aa
commit 9f42525632
3 changed files with 34 additions and 25 deletions

View File

@ -1,3 +1,10 @@
2001-04-15 Michael A Chase <mchase@ix.netcom.com>
* mount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.
2001-04-13 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* mkgroup.c (enum_groups): Use RID + offset specified an additional
@ -7,8 +14,8 @@
(main): Add -o option. Invoke enum_groups with specified offset.
* mkpasswd.c (enum_users): Just like mkgroup.c.
(usage, longopts, opts): Ditto.
(main): Add -o option. Invoke enum_users with specified offset
only against domain accounts.
(main): Add -o option. Invoke enum_users with specified offset only
against domain accounts.
2001-04-11 Egor Duda <deo@logos-m.ru>

View File

@ -87,6 +87,7 @@ do_mount (const char *dev, const char *where, int flags)
struct option longopts[] =
{
{"help", no_argument, NULL, 'h' },
{"binary", no_argument, NULL, 'b'},
{"force", no_argument, NULL, 'f'},
{"system", no_argument, NULL, 's'},
@ -100,7 +101,7 @@ struct option longopts[] =
{NULL, 0, NULL, 0}
};
char opts[] = "bfstuxXpic";
char opts[] = "hbfstuxXpic";
static void
usage (void)

View File

@ -25,6 +25,7 @@ static const char *progname;
struct option longopts[] =
{
{"help", no_argument, NULL, 'h' },
{"remove-all-mounts", no_argument, NULL, 'A'},
{"remove-cygdrive-prefix", no_argument, NULL, 'c'},
{"remove-system-mounts", no_argument, NULL, 'S'},
@ -34,7 +35,7 @@ struct option longopts[] =
{NULL, 0, NULL, 0}
};
char opts[] = "RSUsuc";
char opts[] = "hASUsuc";
static void
usage (void)