make --help typo
Dave Korn
dk@artimi.com
Fri Sep 10 18:20:00 GMT 2004
Hi all,
I reckoned the tail of the make --help output looked a bit wrong...
-----------snip!-----------
dk@mace /artimi> make --help | tail -10
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
Run in UNIX mode (use sh.exe subshell).
Run in Win32 mode (use Win32 subshell).
This program built for i686-pc-cygwin
Report bugs to <bug-makePCYMTNQREAIYRgnu.org>
-----------snip!-----------
and it particularly hit home when I needed to know whether the w was capitalized
in --win32 or not (it isn't). Here's what surely counts as a trivial patch to fix
it:
--- main-3.80-1.c 2004-09-10 18:21:12.444251700 +0100
+++ main.c 2004-09-10 18:22:04.163663700 +0100
@@ -341,8 +341,10 @@ static const char *const usage[] =
N_("\
--warn-undefined-variables Warn when an undefined variable is referenced.\n"),
#ifdef __CYGWIN__
- N_("Run in UNIX mode (use sh.exe subshell).\n"),
- N_("Run in Win32 mode (use Win32 subshell).\n"),
+ N_("\
+ --unix Run in UNIX mode (use sh.exe subshell).\n"),
+ N_("\
+ --win32 Run in Win32 mode (use Win32 subshell).\n"),
#endif
NULL
};
[ Also attached to avoid linewrap]
CGF, you released the last version of make, and I can't see that there's likely
to be any great need to roll another in the foreseeable future, but maybe you'd
like to drop this into your personal source tree just in case sometime you do end
up doing another release?
cheers,
DaveK
--
Can't think of a witty .sigline today....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-main.c-docs-patch.diff
Type: application/octet-stream
Size: 577 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040910/53fae939/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list