1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +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.
This commit is contained in:
Nick Rosbrook 2022-10-28 11:01:15 -04:00 committed by Yu Watanabe
parent 9109009d24
commit 6dfaeac370

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>