* Implement help <command> from the region console

* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
This commit is contained in:
Justin Clarke Casey
2009-02-06 18:18:01 +00:00
parent 9b66108081
commit 00a3cbd6fa
4 changed files with 73 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ namespace OpenSim.Region.Environment.Modules.Framework.InterfaceCommander
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("===" + m_name + "===");
sb.AppendLine("=== " + m_name + " ===");
foreach (ICommand com in m_commands.Values)
{
@@ -83,9 +83,6 @@ namespace OpenSim.Region.Environment.Modules.Framework.InterfaceCommander
m_generatedApiClassName += m_name.Substring(1);
}
/// <value>
/// Commands that this commander knows about
/// </value>
public Dictionary<string, ICommand> Commands
{
get { return m_commands; }