* 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.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user