mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
* Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method
This commit is contained in:
@@ -150,15 +150,19 @@ namespace OpenSim.Grid.MessagingServer
|
||||
|
||||
switch (cmd)
|
||||
{
|
||||
case "help":
|
||||
m_console.Notice("clear-cache - Clears region cache. Should be done when regions change position. The region cache gets stale after a while.");
|
||||
break;
|
||||
case "clear-cache":
|
||||
int entries = msgsvc.ClearRegionCache();
|
||||
m_console.Notice("Region cache cleared! Cleared " + entries.ToString() + " entries");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ShowHelp(string[] helpArgs)
|
||||
{
|
||||
base.ShowHelp(helpArgs);
|
||||
|
||||
m_console.Notice("clear-cache - Clears region cache. Should be done when regions change position. The region cache gets stale after a while.");
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user