mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-09 11:29:57 +00:00
Introduce a command line option to pass sleep password.
And fix return code for "launching" system app.
This commit is contained in:
@@ -50,6 +50,10 @@
|
||||
#define WAKE_OPTION_LONG "--wake-on-wifi-len"
|
||||
#define WAKE_DESCRIPTION "Enable wake on wifi/len. Value: on/off. Default (on)"
|
||||
|
||||
#define SLEEP_PASSWORD "-S"
|
||||
#define SLEEP_PASSWORD_LONG "--sleep-password"
|
||||
#define SLEEP_PASSWORD_DESCRIPTION "Password required to put the device to deep sleep"
|
||||
|
||||
struct dial_options
|
||||
{
|
||||
const char * pOption;
|
||||
@@ -88,6 +92,11 @@ struct dial_options gDialOptions[] =
|
||||
WAKE_OPTION,
|
||||
WAKE_OPTION_LONG,
|
||||
WAKE_DESCRIPTION
|
||||
},
|
||||
{
|
||||
SLEEP_PASSWORD,
|
||||
SLEEP_PASSWORD_LONG,
|
||||
SLEEP_PASSWORD_DESCRIPTION
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user