mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 07:51:35 +08:00
* mount.cc (usage): Correctly report default mode.
This commit is contained in:
parent
a85860b5c8
commit
7c51881531
@ -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.
|
||||
|
@ -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\
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user