bootctl: specify that kernel image commands require a kernel image argument

This commit is contained in:
Antonio Alvarez Feijoo
2025-08-13 11:15:33 +02:00
committed by Luca Boccassi
parent 5e4115e59e
commit 13358b7ce2
2 changed files with 6 additions and 4 deletions

View File

@@ -269,7 +269,7 @@
<variablelist>
<varlistentry>
<term><option>kernel-identify</option> <replaceable>kernel</replaceable></term>
<term><option>kernel-identify</option> <replaceable>KERNEL-IMAGE</replaceable></term>
<listitem><para>Takes a kernel image as argument. Checks what kind of kernel the image is. Returns
one of <literal>uki</literal>, <literal>addon</literal>, <literal>pe</literal>, and
@@ -280,7 +280,7 @@
</varlistentry>
<varlistentry>
<term><option>kernel-inspect</option> <replaceable>kernel</replaceable></term>
<term><option>kernel-inspect</option> <replaceable>KERNEL-IMAGE</replaceable></term>
<listitem><para>Takes a kernel image as argument. Prints details about the image.</para>

View File

@@ -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"