]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysext: add missing COMMAND to the help output and man synopsis
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 22 Aug 2022 12:23:57 +0000 (14:23 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 22 Aug 2022 14:41:12 +0000 (15:41 +0100)
man/systemd-sysext.xml
src/sysext/sysext.c

index f4dd150a538eb62da08f11d2eabf0e47de23d113..aa0d42d83c603573d4dcf250db39ffd80ad647de 100644 (file)
@@ -26,6 +26,7 @@
     <cmdsynopsis>
       <command>systemd-sysext</command>
       <arg choice="opt" rep="repeat">OPTIONS</arg>
+      <arg choice="plain">COMMAND</arg>
     </cmdsynopsis>
 
     <para><literallayout><filename>systemd-sysext.service</filename></literallayout></para>
index b81f1ebe73cbfbed0f2e8f538927e73c59802127..a8593cec4dee8c02b1fba5225290e746db096a5f 100644 (file)
@@ -886,7 +886,7 @@ static int verb_help(int argc, char **argv, void *userdata) {
         if (r < 0)
                 return log_oom();
 
-        printf("%1$s [OPTIONS...] [DEVICE]\n"
+        printf("%1$s [OPTIONS...] COMMAND\n"
                "\n%5$sMerge extension images into /usr/ and /opt/ hierarchies.%6$s\n"
                "\n%3$sCommands:%4$s\n"
                "  status                  Show current merge status (default)\n"