]> 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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 Sep 2025 10:10:48 +0000 (12:10 +0200)
(cherry picked from commit 13358b7ce2bfd2a08e2fe684aa0801a68f81e9ca)

man/bootctl.xml
src/bootctl/bootctl.c

index 89ae019ad79047098e7231190603e9cb0a8b8ccc..29d4400379b98950b37f9086d1d873df3ff03096 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 7befb8c6e2585b46a6828e9988e185bcee4169a9..0c3e4c5c15f1b46843bfe15bf99c282d85869e1e 100644 (file)
@@ -248,8 +248,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$sOptions:%4$s\n"
                "  -h --help            Show this help\n"
                "     --version         Print version\n"