Skip to content

Commit 9c9e510

Browse files
committed
Add support for ModLink directives in modulemanager.
1 parent 490e06f commit 9c9e510

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modulemanager

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,14 @@ for my $mod (sort keys %todo) {
347347
for my $tag (get_directives("$RealDir/src/modules/$mod.cpp", 'ModConfig', 0)) {
348348
say " $tag" if $tag;
349349
}
350+
351+
my @links = get_directives("$RealDir/src/modules/$mod.cpp", 'ModLink', 0);
352+
if (@links) {
353+
say "You can find out more information about this module at:";
354+
for my $link (@links) {
355+
say " * $link" if $link;
356+
}
357+
}
350358
} else {
351359
printf "\nHTTP %s: %s\n", $response->code, $response->message;
352360
}

0 commit comments

Comments
 (0)