]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/findparam.pl
- findparam.pl now recognizes 'Identifier' conf settings.
[infobot.git] / scripts / findparam.pl
index 04f363ae96ffacf9db4dfc790013d75f6978b557..8dd54080b39dde15e9699f638f78fc396f978f33 100644 (file)
@@ -41,6 +41,14 @@ foreach (`find -name "*.pl"`) {
            $conf{$1}++;
            next;
        }
+
+       # command hooks => hasParam => both.
+       # note: this does not support multiple lines.
+       if (/\'Identifier\'[\s\t]=>[\s\t]+\'(\S+?)\'/) {
+#          print "File: $file: command hook: $1\n";
+           $both{$1}++;
+           next;
+       }
     }
     close IN;
 }