summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorСковорода Никита Андреевич <chalkerx@gmail.com>2012-10-03 05:48:19 +0400
committerLennart Poettering <lennart@poettering.net>2012-10-03 19:15:02 -0400
commit2f1bb51336e02005ecdac402591154301d3d680b (patch)
tree3395b86f5834351ffe677e8b14324c4b1eeef299 /src/login
parentf9b557200b6d59a3dce1623d0873a259ee2fe421 (diff)
man: handle-sleep-key is invalid, replace it with handle-suspend-key and handle-hibernate-key in systemd-inhibit help and man.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/inhibit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 28ce553b3e..4735df7d3b 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"