aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/MessagingServer
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-15 17:45:48 +0000
committerJustin Clarke Casey2008-09-15 17:45:48 +0000
commit9170361bee439ccd7f25030fcfb14701a4e8add0 (patch)
tree65abfc214b267b665daf3e419f26bb23a58f3e60 /OpenSim/Grid/MessagingServer
parent* Add "reset user password" command to standalone region console (diff)
downloadopensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.zip
opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.gz
opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.bz2
opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.xz
* Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method
Diffstat (limited to 'OpenSim/Grid/MessagingServer')
-rw-r--r--OpenSim/Grid/MessagingServer/Main.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs
index c73facb..c64c74e 100644
--- a/OpenSim/Grid/MessagingServer/Main.cs
+++ b/OpenSim/Grid/MessagingServer/Main.cs
@@ -150,15 +150,19 @@ namespace OpenSim.Grid.MessagingServer
150 150
151 switch (cmd) 151 switch (cmd)
152 { 152 {
153 case "help":
154 m_console.Notice("clear-cache - Clears region cache. Should be done when regions change position. The region cache gets stale after a while.");
155 break;
156 case "clear-cache": 153 case "clear-cache":
157 int entries = msgsvc.ClearRegionCache(); 154 int entries = msgsvc.ClearRegionCache();
158 m_console.Notice("Region cache cleared! Cleared " + entries.ToString() + " entries"); 155 m_console.Notice("Region cache cleared! Cleared " + entries.ToString() + " entries");
159 break; 156 break;
160 } 157 }
161 } 158 }
159
160 protected override void ShowHelp(string[] helpArgs)
161 {
162 base.ShowHelp(helpArgs);
163
164 m_console.Notice("clear-cache - Clears region cache. Should be done when regions change position. The region cache gets stale after a while.");
165 }
162 166
163 public override void Shutdown() 167 public override void Shutdown()
164 { 168 {