diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-02 00:54:35 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-02 00:54:35 +0400 |
commit | 1050e57c9afee171480510d3277877aca29c0f96 (patch) | |
tree | f64bdfb6d827be836d1866ae864250e08763623c /winsup/utils/mount.cc | |
parent | 1bc9effd28c85148d788043f3d99c657e9dda3d4 (diff) |
* mount.cc (main): Ensure that mount_already_exists() also gets default flag
that is passed to do_mount.
* cygpath.cc (long_options): Add "dos" and "mixed", correct "close", "file" and
"type" to use NULL flag.
(usage): Clean up usage output (more), accomodate new options.
(main): Add --dos and --mixed options; accomodate all output forms in --type.
Make UNIXy output default.
Diffstat (limited to 'winsup/utils/mount.cc')
-rw-r--r-- | winsup/utils/mount.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index cd3131028..0e910853a 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -296,7 +296,7 @@ main (int argc, char **argv) fprintf (stderr, "%s: too many arguments\n", progname); usage (); } - if (force || !mount_already_exists (argv[optind + 1], flags)) + if (force || !mount_already_exists (argv[optind + 1], flags | default_flag)) do_mount (argv[optind], argv[optind + 1], flags | default_flag); else { |