aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-08 01:51:37 +0000
committerJustin Clark-Casey (justincc)2012-03-08 01:51:37 +0000
commit749c3fef8ad2d3af97fcd9ab9c72740675e46715 (patch)
tree068e6adc89dc50386413d85064e80e3114e3fd49 /OpenSim/Region/Application/OpenSimBase.cs
parentminor: make NPC tests run in a given order, comment out log lines in mock reg... (diff)
downloadopensim-SC_OLD-749c3fef8ad2d3af97fcd9ab9c72740675e46715.zip
opensim-SC_OLD-749c3fef8ad2d3af97fcd9ab9c72740675e46715.tar.gz
opensim-SC_OLD-749c3fef8ad2d3af97fcd9ab9c72740675e46715.tar.bz2
opensim-SC_OLD-749c3fef8ad2d3af97fcd9ab9c72740675e46715.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index f482d8f..27a58a4 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -242,15 +242,15 @@ namespace OpenSim
242 242
243 foreach (string topic in topics) 243 foreach (string topic in topics)
244 { 244 {
245 m_console.Commands.AddCommand("plugin", false, "help " + topic, 245 m_console.Commands.AddCommand(topic, false, "help " + topic,
246 "help " + topic, 246 "help " + topic,
247 "Get help on plugin command '" + topic + "'", 247 "Get help on plugin command '" + topic + "'",
248 HandleCommanderHelp); 248 HandleCommanderHelp);
249 249//
250 m_console.Commands.AddCommand("plugin", false, topic, 250// m_console.Commands.AddCommand("General", false, topic,
251 topic, 251// topic,
252 "Execute subcommand for plugin '" + topic + "'", 252// "Execute subcommand for plugin '" + topic + "'",
253 null); 253// null);
254 254
255 ICommander commander = null; 255 ICommander commander = null;
256 256