From: Сковорода Никита Андреевич Date: Wed, 3 Oct 2012 01:48:19 +0000 (+0400) Subject: man: handle-sleep-key is invalid, replace it with handle-suspend-key and handle-hiber... X-Git-Tag: v195~167 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=2f1bb51336e02005ecdac402591154301d3d680b 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 f3ccee3bb..1218836cb 100644 --- a/man/systemd-inhibit.xml +++ b/man/systemd-inhibit.xml @@ -108,7 +108,8 @@ sleep, idle, handle-power-key, - handle-sleep-key, + handle-suspend-key, + handle-hibernate-key, handle-lid-switch, for inhibiting reboot/power-off/halt/kexec, diff --git a/src/login/inhibit.c b/src/login/inhibit.c index 28ce553b3..4735df7d3 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"