From 4943c1c94ba751c98763f4232b4350481b22c90a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 5 May 2012 00:46:31 +0200 Subject: logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend" --- src/login/inhibit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/login/inhibit.c') diff --git a/src/login/inhibit.c b/src/login/inhibit.c index a817c84b36..6f24a1b671 100644 --- a/src/login/inhibit.c +++ b/src/login/inhibit.c @@ -31,7 +31,7 @@ #include "build.h" #include "strv.h" -static const char* arg_what = "idle:suspend:shutdown"; +static const char* arg_what = "idle:sleep:shutdown"; static const char* arg_who = NULL; static const char* arg_why = "Unknown reason"; static const char* arg_mode = "block"; @@ -182,11 +182,11 @@ finish: static int help(void) { printf("%s [OPTIONS...] {COMMAND} ...\n\n" - "Execute a process while inhibiting shutdown/suspend/idle.\n\n" + "Execute a process while inhibiting shutdown/sleep/idle.\n\n" " -h --help Show this help\n" " --version Show package version\n" " --what=WHAT Operations to inhibit, colon separated list of idle,\n" - " suspend, shutdown\n" + " sleep, shutdown\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" -- cgit v1.2.3-54-g00ecf