aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-13 22:27:48 +0000
committerGravatar Sadie Powell2025-03-13 22:27:48 +0000
commit9c9e510c499b53d9f1b65ee7a350797c48482f63 (patch)
tree739241ebd0d3abb1f50f05c00664f40b3bbc79f6
parentAdd various missing information to the example configs. (diff)
Add support for ModLink directives in modulemanager.
-rwxr-xr-xmodulemanager8
1 files changed, 8 insertions, 0 deletions
diff --git a/modulemanager b/modulemanager
index 81e5fe747..766113284 100755
--- a/modulemanager
+++ b/modulemanager
@@ -347,6 +347,14 @@ for my $mod (sort keys %todo) {
for my $tag (get_directives("$RealDir/src/modules/$mod.cpp", 'ModConfig', 0)) {
say " $tag" if $tag;
}
+
+ my @links = get_directives("$RealDir/src/modules/$mod.cpp", 'ModLink', 0);
+ if (@links) {
+ say "You can find out more information about this module at:";
+ for my $link (@links) {
+ say " * $link" if $link;
+ }
+ }
} else {
printf "\nHTTP %s: %s\n", $response->code, $response->message;
}