summaryrefslogtreecommitdiffstats
path: root/man/halt.xml
diff options
context:
space:
mode:
authorNick Rosbrook <nick.rosbrook@canonical.com>2022-10-28 17:01:15 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-10-28 23:39:32 +0200
commit6dfaeac3704c68a1e297cef0c08e5b6ee1dbf3b7 (patch)
treea9715a82163e3aa29eb075f08dc8295482533c7c /man/halt.xml
parenttmpfiles: downgrade missing creds/source path log to debug (diff)
downloadsystemd-6dfaeac3704c68a1e297cef0c08e5b6ee1dbf3b7.tar.xz
systemd-6dfaeac3704c68a1e297cef0c08e5b6ee1dbf3b7.zip
man: document reboot --poweroff exception
When reboot is invoked, the -p/--poweroff option is intentionally ignored. Update the man page to reflect this exception.
Diffstat (limited to 'man/halt.xml')
-rw-r--r--man/halt.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/halt.xml b/man/halt.xml
index 6d272f7daf..c13ee5c144 100644
--- a/man/halt.xml
+++ b/man/halt.xml
@@ -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>