]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: specify that kernel image commands require a kernel image argument
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 13 Aug 2025 09:15:33 +0000 (11:15 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Aug 2025 10:28:22 +0000 (11:28 +0100)
man/bootctl.xml
src/bootctl/bootctl.c

index 729183ad2c2e9a56f3cdda2a99bd3cd968aea09d..b1fe6b22f4f8bc0c957b52470793cafe1ed16f2a 100644 (file)
 
     <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
       </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>
 
index 1235f524b933e60bc083aca64318054988746b8d..2f86e87476ef9f458c3e8e00c042677e43f7e378 100644 (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"