mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 12:43:49 +01:00
Add command line option to load password from file (#7832)
This commit is contained in:
@@ -308,6 +308,8 @@ static void set_allowed_options(OptionList *allowed_options)
|
||||
_("Set player name"))));
|
||||
allowed_options->insert(std::make_pair("password", ValueSpec(VALUETYPE_STRING,
|
||||
_("Set password"))));
|
||||
allowed_options->insert(std::make_pair("password-file", ValueSpec(VALUETYPE_STRING,
|
||||
_("Set password from contents of file"))));
|
||||
allowed_options->insert(std::make_pair("go", ValueSpec(VALUETYPE_FLAG,
|
||||
_("Disable main menu"))));
|
||||
allowed_options->insert(std::make_pair("console", ValueSpec(VALUETYPE_FLAG,
|
||||
|
||||
Reference in New Issue
Block a user