]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysext: point to the right man page for the mode we are invoked in
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 08:37:23 +0000 (09:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 08:41:26 +0000 (09:41 +0100)
src/sysext/sysext.c

index 924f461301185035322ee9e14557b5be6f81184a..3a316ff9dcbee9939264bba2e69f8616a07bba05 100644 (file)
@@ -1367,7 +1367,7 @@ static int verb_help(int argc, char **argv, void *userdata) {
         _cleanup_free_ char *link = NULL;
         int r;
 
-        r = terminal_urlify_man("systemd-sysext", "8", &link);
+        r = terminal_urlify_man(image_class_info[arg_image_class].full_identifier, "8", &link);
         if (r < 0)
                 return log_oom();