Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-16 06:51:03 +0400
committerChristopher Faylor <me@cgf.cx>2001-04-16 06:51:03 +0400
commit9f42525632f6edb1ff93fba5a724b927dd983a19 (patch)
tree06cdd38e31bf0988a784bb96c3c64443d216dde0 /winsup/utils/umount.cc
parent4535e6a9aa80c40dfebd345e1e53b788a3047aad (diff)
* 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'.
Diffstat (limited to 'winsup/utils/umount.cc')
-rw-r--r--winsup/utils/umount.cc3
1 files changed, 2 insertions, 1 deletions
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)