Change mount usage, winsup/utils/mount.cc
Christopher Faylor
cgf@redhat.com
Fri Aug 2 07:48:00 GMT 2002
On Fri, Aug 02, 2002 at 08:16:47AM -0500, Michael Hoffman wrote:
>2002-08-02 Michael Hoffman <grouse@mail.utexas.edu>
>
>* mount.cc (usage): Show usage as [<win32path>] [<posixpath>] since
>the two are not always used together, like with --change-cygdrive-prefix.
That would be misleading. It would indicate that the common case had an
optional second argument.
I'll be changing this in the next version of cygwin anyway, so I think
I'll pass on this patch for now. Thanks anyway, though.
cgf
>--- mount.cc-orig 2002-08-02 08:05:24.000000000 -0500
>+++ mount.cc 2002-08-02 08:06:51.000000000 -0500
>@@ -133,7 +133,7 @@ static char opts[] = "bcfhmpstuvxEX";
> static void
> usage (FILE *where = stderr)
> {
>- fprintf (where, "Usage: %s [OPTION] [<win32path> <posixpath>]\n\
>+ fprintf (where, "Usage: %s [OPTION] [<win32path>] [<posixpath>]\n\
> -b, --binary text files are equivalent to binary files\n\
> (newline = \\n)\n\
> -c, --change-cygdrive-prefix change the cygdrive path prefix to <posixpath>\n\
More information about the Cygwin-patches
mailing list