mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Change "help" to display categories/module list then "help <category/module>" to display commands in a category.
This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
This commit is contained in:
@@ -893,16 +893,16 @@ namespace OpenSim.Services.LLLoginService
|
||||
private void RegisterCommands()
|
||||
{
|
||||
//MainConsole.Instance.Commands.AddCommand
|
||||
MainConsole.Instance.Commands.AddCommand("loginservice", false, "login level",
|
||||
MainConsole.Instance.Commands.AddCommand("Users", false, "login level",
|
||||
"login level <level>",
|
||||
"Set the minimum user level to log in", HandleLoginCommand);
|
||||
|
||||
MainConsole.Instance.Commands.AddCommand("loginservice", false, "login reset",
|
||||
MainConsole.Instance.Commands.AddCommand("Users", false, "login reset",
|
||||
"login reset",
|
||||
"Reset the login level to allow all users",
|
||||
HandleLoginCommand);
|
||||
|
||||
MainConsole.Instance.Commands.AddCommand("loginservice", false, "login text",
|
||||
MainConsole.Instance.Commands.AddCommand("Users", false, "login text",
|
||||
"login text <text>",
|
||||
"Set the text users will see on login", HandleLoginCommand);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user