From 9f42525632f6edb1ff93fba5a724b927dd983a19 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 16 Apr 2001 02:51:03 +0000 Subject: * 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'. --- winsup/utils/umount.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/utils/umount.cc') diff --git a/winsup/utils/umount.cc b/winsup/utils/umount.cc index 607241162..3adb8511e 100644 --- a/winsup/utils/umount.cc +++ b/winsup/utils/umount.cc @@ -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) -- cgit v1.2.3