diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 55a63ee28..de09a8bb1 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2005-08-03 Corinna Vinschen + + * mount.cc (longopts): Fix typo which disallows --options option. + 2005-07-19 Christopher Faylor Eric Blake diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 4a874b566..941064292 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'},