From a2da9e77523a833ade7209e7cf97d01e4e8d8e25 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 14 Jan 2001 05:33:53 +0000 Subject: [PATCH] make the -W arg work; it was not put in the getopt string. --- usr.bin/make/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 1b0341a3c571..30085ec7a86f 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.63 2001/01/10 15:54:00 christos Exp $ */ +/* $NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -39,7 +39,7 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: main.c,v 1.63 2001/01/10 15:54:00 christos Exp $"; +static char rcsid[] = "$NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $"; #else #include #ifndef lint @@ -51,7 +51,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: main.c,v 1.63 2001/01/10 15:54:00 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $"); #endif #endif /* not lint */ #endif @@ -179,9 +179,9 @@ MainParseArgs(argc, argv) optind = 1; /* since we're called more than once */ #ifdef REMOTE -# define OPTFLAGS "BD:I:J:L:NPST:V:d:ef:ij:km:nqrst" +# define OPTFLAGS "BD:I:J:L:NPST:V:Wd:ef:ij:km:nqrst" #else -# define OPTFLAGS "BD:I:J:NPST:V:d:ef:ij:km:nqrst" +# define OPTFLAGS "BD:I:J:NPST:V:Wd:ef:ij:km:nqrst" #endif rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { switch(c) {