mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add command line option to load password from file (#7832)
This commit is contained in:
parent
80eb762af1
commit
b7eb81fed9
3 changed files with 19 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue