From f0ee52090b5cb0023634dac457c09be7a2832c3b Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Thu, 27 Sep 2012 23:20:06 -0400
Subject: [PATCH] Update systemd-inhibit --help output

The handle-sleep-key option got split into handle-suspend-key
and handle-hibernate-key.
---
 src/login/inhibit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

