4 #include "commandlineparser.h"
12 add(
"-l",
"oldlock",
false,
"disable shutdown",
"")
13 ->
SetRemoved(
"Please use the full argument '--lock' instead.");
20 <<
add(QStringList( QStringList() <<
"-w" <<
"--setwakeup" ),
22 "Set the wakeup time (yyyy-MM-ddThh:mm:ss) "
23 "default is in local time",
"")
24 <<
add(QStringList( QStringList() <<
"-t" <<
"--setscheduledwakeup" ),
25 "setschedwakeup",
false,
26 "Set wakeup time to the next scheduled recording",
"")
27 <<
add(QStringList( QStringList() <<
"-q" <<
"--shutdown" ),
29 "Apply wakeup time to nvram and shutdown.",
"")
30 <<
add(QStringList( QStringList() <<
"-x" <<
"--safeshutdown" ),
31 "safeshutdown",
false,
32 "Check if shutdown is possible, and shutdown",
"")
33 <<
add(QStringList( QStringList() <<
"-p" <<
"--startup" ),
35 "Check startup status",
36 "Check startup status\n"
37 " returns 0 - automatic startup\n"
38 " 1 - manual startup")
39 <<
add(QStringList( QStringList() <<
"-c" <<
"--check" ),
41 "Check whether shutdown is possible",
42 "Check whether shutdown is possible depending on input\n"
43 " input 0 - dont check recording status\n"
44 " 1 - do check recording status\n\n"
45 " returns 0 - ok to shut down\n"
46 " 1 - not ok, idle check reset")
47 <<
add(
"--lock" ,
"lock",
false,
"disable shutdown",
"")
48 <<
add(QStringList( QStringList() <<
"-u" <<
"--unlock" ),
50 "enable shutdown",
"")
51 <<
add(QStringList( QStringList() <<
"-s" <<
"--status" ),
53 "check current status",
54 "check current status depending on input\n"
55 " input 0 - dont check recording status\n"
56 " 1 - do check recording status\n\n"
59 " 2 - Commercial Detection\n"
60 " 4 - Grabbing EPG data\n"
61 " 8 - Recording (only valid if input=1)\n"
63 " 32 - Jobs running or pending\n"
64 " 64 - In daily wakeup/shutdown period\n"
65 " 128 - Less than 15 minutes to next wakeup period\n"
66 " 255 - Setup is running") );
74 "Specify that the wakeup time is in utc",
"")
77 "Specify that the wakeup time is in local time",
"") );