* mount.cc (main): Add "-X" option to specify a "Cygwin executable".

This commit is contained in:
Christopher Faylor 2000-04-27 03:44:23 +00:00
parent fc6f4e20ec
commit 865ab4b83f
2 changed files with 46 additions and 40 deletions

View File

@ -1,3 +1,7 @@
Wed Apr 26 23:43:25 2000 Christopher Faylor <cgf@cygnus.com>
* mount.cc (main): Add "-X" option to specify a "Cygwin executable".
Sat Apr 15 23:34:00 2000 Corinna Vinschen <corinna@vinschen.de> Sat Apr 15 23:34:00 2000 Corinna Vinschen <corinna@vinschen.de>
* mkpasswd.c (main): Use GetDCName instead of GetAnyDCName. * mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.

View File

@ -136,8 +136,10 @@ main (int argc, const char **argv)
flags |= MOUNT_BINARY; flags |= MOUNT_BINARY;
else if (strcmp (argv[i], "-t") == 0) else if (strcmp (argv[i], "-t") == 0)
flags &= ~MOUNT_BINARY; flags &= ~MOUNT_BINARY;
else if (strcmp (argv[i], "-X") == 0)
flags |= MOUNT_CYGWIN_EXEC;
#if 0 #if 0
else if (strcmp (argv[i], "-c") == 0) else if (strcmp (argv[i], "-x") == 0)
create_missing_dirs = TRUE; create_missing_dirs = TRUE;
#endif #endif
else if (strcmp (argv[i], "-s") == 0) else if (strcmp (argv[i], "-s") == 0)