diff options
author | Christopher Faylor <me@cgf.cx> | 2001-04-16 02:51:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-04-16 02:51:03 +0000 |
commit | 9f42525632f6edb1ff93fba5a724b927dd983a19 (patch) | |
tree | 06cdd38e31bf0988a784bb96c3c64443d216dde0 /winsup/utils/umount.cc | |
parent | 4535e6a9aa80c40dfebd345e1e53b788a3047aad (diff) | |
download | cygnal-9f42525632f6edb1ff93fba5a724b927dd983a19.tar.gz cygnal-9f42525632f6edb1ff93fba5a724b927dd983a19.tar.bz2 cygnal-9f42525632f6edb1ff93fba5a724b927dd983a19.zip |
* 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.cc | 3 |
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) |