* mount.cc (usage): Correctly report default mode.

This commit is contained in:
Christopher Faylor 2002-10-19 11:41:31 +00:00
parent a85860b5c8
commit 7c51881531
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2002-10-19 Christopher Faylor <cgf@redhat.com>
* mount.cc (usage): Correctly report default mode.
2002-09-29 Christopher Faylor <cgf@redhat.com>
* cygpath.cc (close_arg): Remove unused static.

View File

@ -134,7 +134,7 @@ static void
usage (FILE *where = stderr)
{
fprintf (where, "Usage: %s [OPTION] [<win32path> <posixpath>]\n\
-b, --binary text files are equivalent to binary files\n\
-b, --binary (default) text files are equivalent to binary files\n\
(newline = \\n)\n\
-c, --change-cygdrive-prefix change the cygdrive path prefix to <posixpath>\n\
-f, --force force mount, don't warn about missing mount\n\
@ -144,7 +144,7 @@ usage (FILE *where = stderr)
system mount points and cygdrive prefixes\n\
-p, --show-cygdrive-prefix show user and/or system cygdrive path prefix\n\
-s, --system (default) add system-wide mount point\n\
-t, --text (default) text files get \\r\\n line endings\n\
-t, --text text files get \\r\\n line endings\n\
-u, --user add user-only mount point\n\
-v, --version output version information and exit\n\
-x, --executable treat all files under mount point as executables\n\

View File

@ -944,10 +944,10 @@ character #%d.\n", optarg, (int) (endptr - optarg), endptr);
#endif
break;
case 'p':
pid = strtol (optarg, NULL, 10);
pid = strtoul (optarg, NULL, 10);
break;
case 'S':
flush_period = strtol (optarg, NULL, 10);
flush_period = strtoul (optarg, NULL, 10);
break;
case 't':
hhmmss ^= 1;