This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Change mount usage, winsup/utils/mount.cc


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\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]