Adding boolean alias for commandline switches like -save_crashes=yes

bulletsim
Makopoppo 2011-05-31 21:38:32 +09:00 committed by Justin Clark-Casey (justincc)
parent 54096db30b
commit b0ed0e63dc
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ namespace OpenSim
configSource.Alias.AddAlias("Off", false); configSource.Alias.AddAlias("Off", false);
configSource.Alias.AddAlias("True", true); configSource.Alias.AddAlias("True", true);
configSource.Alias.AddAlias("False", false); configSource.Alias.AddAlias("False", false);
configSource.Alias.AddAlias("Yes", true);
configSource.Alias.AddAlias("No", false);
configSource.AddSwitch("Startup", "background"); configSource.AddSwitch("Startup", "background");
configSource.AddSwitch("Startup", "inifile"); configSource.AddSwitch("Startup", "inifile");