diff options
author | rillig <rillig> | 2006-11-04 22:05:43 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-11-04 22:05:43 +0000 |
commit | c6c1e06fa0c7c3afcf4091e077a38ad7c34907f5 (patch) | |
tree | 72663bd7324db3a2620f4905c13a4bf741c708d3 /mk/help | |
parent | 821bae0835282b8fe8ed3d3601c2eb5f543c6049 (diff) | |
download | pkgsrc-c6c1e06fa0c7c3afcf4091e077a38ad7c34907f5.tar.gz |
Added some more formats that are needed to recognize SMART_MESSAGES in
mk/defaults/mk.conf.
Diffstat (limited to 'mk/help')
-rw-r--r-- | mk/help/help.awk | 5 |
1 files changed, 3 insertions, 2 deletions
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; |