aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-08-03 09:23:39 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-08-03 09:23:39 +0000
commitbb002a4968e98466b578452b344e90b95607843f (patch)
treeef9530209c00fffd001a258a85541a833052bca7 /winsup/utils
parent0c5c6c234f474702ac9fa7681ceb6d18bf3a43de (diff)
downloadnewlib-bb002a4968e98466b578452b344e90b95607843f.zip
newlib-bb002a4968e98466b578452b344e90b95607843f.tar.gz
newlib-bb002a4968e98466b578452b344e90b95607843f.tar.bz2
* mount.cc (longopts): Fix typo which disallows --options option.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/mount.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 55a63ee..de09a8b 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-03 Corinna Vinschen <corinna@vinschen.de>
+
+ * mount.cc (longopts): Fix typo which disallows --options option.
+
2005-07-19 Christopher Faylor <cgf@timesys.com>
Eric Blake <ebb9@byu.net>
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index 4a874b5..9410642 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -1,6 +1,6 @@
/* mount.cc
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 Red Hat, Inc.
This file is part of Cygwin.
@@ -140,7 +140,7 @@ static struct option longopts[] =
{"help", no_argument, NULL, 'h' },
{"mount-commands", no_argument, NULL, 'm'},
{"no-executable", no_argument, NULL, 'E'},
- {"options", required_argument, NULL, 'E'},
+ {"options", required_argument, NULL, 'o'},
{"show-cygdrive-prefix", no_argument, NULL, 'p'},
{"system", no_argument, NULL, 's'},
{"text", no_argument, NULL, 't'},