[systemd-commits] man/systemd-inhibit.xml src/login

Lennart Poettering lennart at kemper.freedesktop.org
Wed Oct 3 16:15:14 PDT 2012


 man/systemd-inhibit.xml |    3 ++-
 src/login/inhibit.c     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 2f1bb51336e02005ecdac402591154301d3d680b
Author: Сковорода Никита Андреевич <chalkerx at gmail.com>
Date:   Wed Oct 3 05:48:19 2012 +0400

    man: handle-sleep-key is invalid, replace it with handle-suspend-key and handle-hibernate-key in systemd-inhibit help and man.

diff --git a/man/systemd-inhibit.xml b/man/systemd-inhibit.xml
index f3ccee3..1218836 100644
--- a/man/systemd-inhibit.xml
+++ b/man/systemd-inhibit.xml
@@ -108,7 +108,8 @@
                                 <literal>sleep</literal>,
                                 <literal>idle</literal>,
                                 <literal>handle-power-key</literal>,
-                                <literal>handle-sleep-key</literal>,
+                                <literal>handle-suspend-key</literal>,
+                                <literal>handle-hibernate-key</literal>,
                                 <literal>handle-lid-switch</literal>,
                                 for inhibiting
                                 reboot/power-off/halt/kexec,
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 28ce553..4735df7 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -162,7 +162,8 @@ static int help(void) {
                "     --version            Show package version\n"
                "     --what=WHAT          Operations to inhibit, colon separated list of:\n"
                "                          shutdown, sleep, idle, handle-power-key,\n"
-               "                          handle-sleep-key, handle-lid-switch\n"
+               "                          handle-suspend-key, handle-hibernate-key,\n"
+               "                          handle-lid-switch\n"
                "     --who=STRING         A descriptive string who is inhibiting\n"
                "     --why=STRING         A descriptive string why is being inhibited\n"
                "     --mode=MODE          One of block or delay\n"



More information about the systemd-commits mailing list