diff options
author | Justin Clarke Casey | 2009-02-05 21:35:59 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-05 21:35:59 +0000 |
commit | 732cd838b1ce2bc5d2c312f510818fd63db76be4 (patch) | |
tree | 66617238b33626990d7eb2d9f5da041f3e57eaa6 /OpenSim/Region/Application/OpenSimBase.cs | |
parent | * Use the commander name to register module commanders instead of providing t... (diff) | |
download | opensim-SC_OLD-732cd838b1ce2bc5d2c312f510818fd63db76be4.zip opensim-SC_OLD-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.gz opensim-SC_OLD-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.bz2 opensim-SC_OLD-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.xz |
* Make existing module commanders register as help topics
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index aca1829..89f16d6 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim | |||
59 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 59 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
60 | 60 | ||
61 | protected string proxyUrl; | 61 | protected string proxyUrl; |
62 | protected int proxyOffset = 0; | 62 | protected int proxyOffset = 0; |
63 | 63 | ||
64 | /// <summary> | 64 | /// <summary> |
65 | /// The file used to load and save prim backup xml if no filename has been specified | 65 | /// The file used to load and save prim backup xml if no filename has been specified |
@@ -158,7 +158,15 @@ namespace OpenSim | |||
158 | loader.Load("/OpenSim/Startup"); | 158 | loader.Load("/OpenSim/Startup"); |
159 | m_plugins = loader.Plugins; | 159 | m_plugins = loader.Plugins; |
160 | } | 160 | } |
161 | 161 | ||
162 | protected override List<string> GetHelpTopics() | ||
163 | { | ||
164 | List<string> topics = base.GetHelpTopics(); | ||
165 | topics.AddRange(SceneManager.CurrentOrFirstScene.GetCommanders().Keys); | ||
166 | |||
167 | return topics; | ||
168 | } | ||
169 | |||
162 | /// <summary> | 170 | /// <summary> |
163 | /// Performs startup specific to this region server, including initialization of the scene | 171 | /// Performs startup specific to this region server, including initialization of the scene |
164 | /// such as loading configuration from disk. | 172 | /// such as loading configuration from disk. |