]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document reboot --poweroff exception
authorNick Rosbrook <nick.rosbrook@canonical.com>
Fri, 28 Oct 2022 15:01:15 +0000 (11:01 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Oct 2022 21:39:32 +0000 (06:39 +0900)
When reboot is invoked, the -p/--poweroff option is intentionally
ignored. Update the man page to reflect this exception.

man/halt.xml

index 6d272f7daf7c109b56df8cfc8e60663c8ba0bf15..c13ee5c1448507334894411225093b3596814b3c 100644 (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>