machinectl: mention -V in --help text

Follow-up for f82dcc3fc3
This commit is contained in:
Lennart Poettering 2024-03-01 15:22:13 +01:00
parent 5f76155e65
commit 3c1053ff27
2 changed files with 8 additions and 2 deletions

View file

@ -888,7 +888,6 @@
</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
@ -900,7 +899,13 @@
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>

View 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,