From 749c3fef8ad2d3af97fcd9ab9c72740675e46715 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 8 Mar 2012 01:51:37 +0000 Subject: Change "help" to display categories/module list then "help " 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 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. --- OpenSim/Services/LLLoginService/LLLoginService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs') diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index f7b38d4..db8a9cb 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs @@ -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 ", "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 ", "Set the text users will see on login", HandleLoginCommand); -- cgit v1.1