1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

man: document reboot --poweroff exception

When reboot is invoked, the -p/--poweroff option is intentionally
ignored. Update the man page to reflect this exception.

(cherry picked from commit 6dfaeac370)
(cherry picked from commit c339e8d71b)
This commit is contained in:
Nick Rosbrook 2022-10-28 11:01:15 -04:00 committed by Zbigniew Jędrzejewski-Szmek
parent 1ac92e294f
commit fd95ed0f3b

View File

@ -69,8 +69,9 @@
<term><option>-p</option></term>
<term><option>--poweroff</option></term>
<listitem><para>Power-off the machine, regardless of which one
of the three commands is invoked.</para></listitem>
<listitem><para>Power-off the machine, when either <command>halt</command>
or <command>poweroff</command> is invoked. This option is ignored when
<command>reboot</command> is invoked.</para></listitem>
</varlistentry>
<varlistentry>