pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/help



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May 20 16:14:07 UTC 2023

Modified Files:
        pkgsrc/mk/help: help.awk

Log Message:
mk/help.awk: clean up comments


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/mk/help/help.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/help/help.awk
diff -u pkgsrc/mk/help/help.awk:1.43 pkgsrc/mk/help/help.awk:1.44
--- pkgsrc/mk/help/help.awk:1.43        Sat Jun 11 15:58:41 2022
+++ pkgsrc/mk/help/help.awk     Sat May 20 16:14:07 2023
@@ -1,9 +1,9 @@
-# $NetBSD: help.awk,v 1.43 2022/06/11 15:58:41 rillig Exp $
+# $NetBSD: help.awk,v 1.44 2023/05/20 16:14:07 rillig Exp $
 #
 
 # This program extracts the inline documentation from *.mk files.
 #
-# usage: env TOPIC="topic" awk help.awk file...
+# usage: env TOPIC="topic" awk -f help.awk file...
 #
 
 BEGIN {
@@ -137,9 +137,7 @@ function array_is_empty(arr,   i) {
 }
 
 # The lines containing the keywords should also not occur in
-# the output for now. This decision is not final since it may
-# be helpful for the user to know by which keywords a topic
-# can be reached.
+# the output, as the relevant keywords are listed above each topic.
 $1 == "#" && $2 == "Keywords:" {
        for (i = 3; i <= NF; i++) {
                w = ($i == toupper($i)) ? tolower($i) : $i;



Home | Main Index | Thread Index | Old Index