]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
machinectl: mention -V in --help text
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2024 14:22:13 +0000 (15:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2024 21:24:19 +0000 (22:24 +0100)
Follow-up for f82dcc3fc35883a73c8a03ad82d35abffc458676

man/machinectl.xml
src/machine/machinectl.c

index 45c2ae74bd75454ea898cf4c85007ef0ae52ac3d..a4d53175433b59df6085b736cf2536920867e631 100644 (file)
       </varlistentry>
 
       <varlistentry>
-        <term><option>-V</option></term>
         <term><option>--runner=</option><option>nspawn</option>|<option>vmspawn</option></term>
 
         <listitem><para>When operating on machines choose whether to use
         is used.
         </para>
 
-        <para><option>-V</option> is a shorthand for <option>--runner=vmspawn</option>.</para>
+        <xi:include href="version-info.xml" xpointer="v256"/></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><option>-V</option></term>
+
+        <listitem><para><option>-V</option> is a shorthand for <option>--runner=vmspawn</option>.</para>
 
         <xi:include href="version-info.xml" xpointer="v256"/></listitem>
       </varlistentry>
index 5e8ba9081be079f2b79d0744a29c4b9035990fef..a7d04f2f4deebba919aa19e2174bbfb939b0b7ab 100644 (file)
@@ -2676,6 +2676,7 @@ static int help(int argc, char *argv[], void *userdata) {
                "     --now                    Start or power off container after enabling or\n"
                "                              disabling it\n"
                "     --runner=RUNNER          Select between nspawn and vmspawn as the runner\n"
+               "  -V                          Short for --runner=vmspawn\n"
                "\nSee the %2$s for details.\n",
                program_invocation_short_name,
                link,