summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-09 19:47:10 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-09 19:47:10 +0000
commitf3f58bd0a9d31ea2855644f035c10c916be97e07 (patch)
treecdc3315ef5de3ef5ce5341976a12ab5129f05900 /usr.bin/make
parent878b1ed915d5fa778825c98b5b40b3bac682a22b (diff)
recognize new debug options for double commands, heldjobs, target group
construction
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 5412f9ed0da..14638c258ce 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.98 2012/10/06 09:32:40 espie Exp $ */
+/* $OpenBSD: main.c,v 1.99 2012/10/09 19:47:09 espie Exp $ */
/* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */
/*
@@ -246,6 +246,9 @@ MainParseArgs(int argc, char **argv)
case 'd':
debug |= DEBUG_DIR;
break;
+ case 'D':
+ debug |= DEBUG_DOUBLE;
+ break;
case 'e':
debug |= DEBUG_EXPENSIVE;
break;
@@ -262,6 +265,9 @@ MainParseArgs(int argc, char **argv)
++modules;
}
break;
+ case 'h':
+ debug |= DEBUG_HELDJOBS;
+ break;
case 'j':
debug |= DEBUG_JOB | DEBUG_KILL;
break;
@@ -292,6 +298,9 @@ MainParseArgs(int argc, char **argv)
case 't':
debug |= DEBUG_TARG;
break;
+ case 'T':
+ debug |= DEBUG_TARGGROUP;
+ break;
case 'v':
debug |= DEBUG_VAR;
break;