delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/10/14:17:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: make --help typo
Date: Fri, 10 Sep 2004 19:14:07 +0100
MIME-Version: 1.0
Message-ID: <NUTMEGrYZCyraoJONfG000012eb@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 10 Sep 2004 18:14:09.0703 (UTC) FILETIME=[F7BA7370:01C49761]
Note-from-DJ: This may be spam

------=_NextPart_000_00C2_01C4976A.59693090
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


     Hi all,

  I reckoned the tail of the make --help output looked a bit wrong...

-----------snip!-----------
dk AT 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....

------=_NextPart_000_00C2_01C4976A.59693090
Content-Type: application/octet-stream;
	name="make-main.c-docs-patch.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="make-main.c-docs-patch.diff"

--- 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[] =3D
     N_("\
   --warn-undefined-variables  Warn when an undefined variable is reference=
d.\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
   };


------=_NextPart_000_00C2_01C4976A.59693090
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_00C2_01C4976A.59693090--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019