From: Antonio Alvarez Feijoo Date: Wed, 13 Aug 2025 09:15:33 +0000 (+0200) Subject: bootctl: specify that kernel image commands require a kernel image argument X-Git-Tag: v258-rc3~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13358b7ce2bfd2a08e2fe684aa0801a68f81e9ca;p=thirdparty%2Fsystemd.git bootctl: specify that kernel image commands require a kernel image argument --- diff --git a/man/bootctl.xml b/man/bootctl.xml index 729183ad2c2..b1fe6b22f4f 100644 --- a/man/bootctl.xml +++ b/man/bootctl.xml @@ -269,7 +269,7 @@ - kernel + KERNEL-IMAGE Takes a kernel image as argument. Checks what kind of kernel the image is. Returns one of uki, addon, pe, and @@ -280,7 +280,7 @@ - kernel + KERNEL-IMAGE Takes a kernel image as argument. Prints details about the image. diff --git a/src/bootctl/bootctl.c b/src/bootctl/bootctl.c index 1235f524b93..2f86e87476e 100644 --- a/src/bootctl/bootctl.c +++ b/src/bootctl/bootctl.c @@ -280,8 +280,10 @@ static int help(int argc, char *argv[], void *userdata) { " random-seed Initialize or refresh random seed in ESP and EFI\n" " variables\n" "\n%3$sKernel Image Commands:%4$s\n" - " kernel-identify Identify kernel image type\n" - " kernel-inspect Prints details about the kernel image\n" + " kernel-identify KERNEL-IMAGE\n" + " Identify kernel image type\n" + " kernel-inspect KERNEL-IMAGE\n" + " Prints details about the kernel image\n" "\n%3$sBlock Device Discovery Commands:%4$s\n" " -p --print-esp-path Print path to the EFI System Partition mount point\n" " -x --print-boot-path Print path to the $BOOT partition mount point\n"