From 6f1926569590ea777f41161907cffbcbf6acb7e4 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 4 Nov 2006 22:05:43 +0000 Subject: Added some more formats that are needed to recognize SMART_MESSAGES in mk/defaults/mk.conf. --- mk/help/help.awk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk/help') diff --git a/mk/help/help.awk b/mk/help/help.awk index c319ea7599a..181bc20ef23 100644 --- a/mk/help/help.awk +++ b/mk/help/help.awk @@ -1,4 +1,4 @@ -# $NetBSD: help.awk,v 1.1 2006/10/23 14:40:15 rillig Exp $ +# $NetBSD: help.awk,v 1.2 2006/11/04 22:05:43 rillig Exp $ # BEGIN { @@ -36,7 +36,8 @@ BEGIN { w2 = ($2 == tolower($2)) ? toupper($2) : $2; if ((w1 == uctopic"?=") || - (w1 == "#"uctopic"=") || + (index(w1, "#"uctopic"=") == 1) || + (index(w1, "#"uctopic"?=") == 1) || (w1 == "#" && last_line_was_empty && (w2 == uctopic || w2 == uctopic":"))) { var = 1; -- cgit v1.2.3