aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/MessagingServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {