aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-09 20:52:04 +0000
committerJustin Clarke Casey2009-02-09 20:52:04 +0000
commita034b640dab9d08b23270e1ee8255ae92fa8f816 (patch)
treebe960c46df5062b5e9e2d1e17fe402ef0596fadd /OpenSim/Region/Application/OpenSimBase.cs
parenta last set of files that seem to have embedded ^M in them (diff)
downloadopensim-SC-a034b640dab9d08b23270e1ee8255ae92fa8f816.zip
opensim-SC-a034b640dab9d08b23270e1ee8255ae92fa8f816.tar.gz
opensim-SC-a034b640dab9d08b23270e1ee8255ae92fa8f816.tar.bz2
opensim-SC-a034b640dab9d08b23270e1ee8255ae92fa8f816.tar.xz
* Add the ability to type help <command> for more detailed help about a specific command if any is available
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-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 4d56147..d032864 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -203,14 +203,14 @@ namespace OpenSim
203 203
204 foreach (string topic in topics) 204 foreach (string topic in topics)
205 { 205 {
206 m_console.Commands.AddCommand("plugin", "help "+topic, 206 m_console.Commands.AddCommand("plugin", "help " + topic,
207 "help "+topic, 207 "help " + topic,
208 "Get help on plugin command '"+topic+"'", 208 "Get help on plugin command '" + topic + "'",
209 HandleCommanderHelp); 209 HandleCommanderHelp);
210 210
211 m_console.Commands.AddCommand("plugin", topic, 211 m_console.Commands.AddCommand("plugin", topic,
212 topic, 212 topic,
213 "Execute subcommand for plugin '"+topic+"'", 213 "Execute subcommand for plugin '" + topic + "'",
214 null); 214 null);
215 215
216 ICommander commander = 216 ICommander commander =
@@ -221,8 +221,8 @@ namespace OpenSim
221 221
222 foreach (string command in commander.Commands.Keys) 222 foreach (string command in commander.Commands.Keys)
223 { 223 {
224 m_console.Commands.AddCommand(topic, topic+" "+command, 224 m_console.Commands.AddCommand(topic, topic + " " + command,
225 topic+" "+commander.Commands[command].ShortHelp(), 225 topic + " " + commander.Commands[command].ShortHelp(),
226 String.Empty, HandleCommanderCommand); 226 String.Empty, HandleCommanderCommand);
227 } 227 }
228 } 228 }