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

This commit is contained in:
Сковорода Никита Андреевич 2012-10-03 05:48:19 +04:00 committed by Lennart Poettering
parent f9b557200b
commit 2f1bb51336
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -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"