aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Console/CommandConsole.cs7
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs10
2 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs
index 106b406..d703d78 100644
--- a/OpenSim/Framework/Console/CommandConsole.cs
+++ b/OpenSim/Framework/Console/CommandConsole.cs
@@ -144,8 +144,11 @@ namespace OpenSim.Framework.Console
144 { 144 {
145 foreach (List<CommandInfo> commands in m_modulesCommands.Values) 145 foreach (List<CommandInfo> commands in m_modulesCommands.Values)
146 { 146 {
147 var ourHelpText = commands.ConvertAll(c => string.Format("{0} - {1}", c.help_text, c.long_help)); 147 foreach (CommandInfo c in commands)
148 help.AddRange(ourHelpText); 148 {
149 if (c.long_help != String.Empty)
150 help.Add(string.Format("{0} - {1}", c.help_text, c.long_help));
151 }
149 } 152 }
150 } 153 }
151 154
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 17db0a1..bed9a49 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -266,10 +266,10 @@ namespace OpenSim
266 "help " + capitalizedTopic, 266 "help " + capitalizedTopic,
267 "Get help on plugin command '" + topic + "'", 267 "Get help on plugin command '" + topic + "'",
268 HandleCommanderHelp); 268 HandleCommanderHelp);
269 console.Commands.AddCommand(capitalizedTopic, false, "help " + capitalizedTopic, 269// console.Commands.AddCommand(capitalizedTopic, false, "help " + capitalizedTopic,
270 "help " + capitalizedTopic, 270// "help " + capitalizedTopic,
271 "Get help on plugin command '" + topic + "'", 271// "Get help on plugin command '" + topic + "'",
272 HandleCommanderHelp); 272// HandleCommanderHelp);
273 273
274 ICommander commander = null; 274 ICommander commander = null;
275 275
@@ -1166,4 +1166,4 @@ namespace OpenSim
1166 { 1166 {
1167 public IConfigSource Source; 1167 public IConfigSource Source;
1168 } 1168 }
1169} \ No newline at end of file 1169}