X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Finhibit.c;h=6f24a1b67176e2fb07e4aee1a5365b7c43baf4ee;hb=36140842612803d71fe771ce03f3dee7732284f0;hp=a817c84b3605b7e1d3a3379a0bbf03692a700310;hpb=eecd1362f7f4de432483b5d77c56726c3621a83a;p=elogind.git diff --git a/src/login/inhibit.c b/src/login/inhibit.c index a817c84b3..6f24a1b67 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"