From 13358b7ce2bfd2a08e2fe684aa0801a68f81e9ca Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Wed, 13 Aug 2025 11:15:33 +0200 Subject: [PATCH] bootctl: specify that kernel image commands require a kernel image argument --- man/bootctl.xml | 4 ++-- src/bootctl/bootctl.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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" -- 2.47.3