This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Change mount usage, winsup/utils/mount.cc
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 2 Aug 2002 10:48:56 -0400
- Subject: Re: Change mount usage, winsup/utils/mount.cc
- References: <Pine.WNT.4.44.0208020816340.968-200000@barbecueworld>
- Reply-to: cygwin-patches at cygwin dot com
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\