Make "show version" console command available across all servers

This commit is contained in:
Justin Clark-Casey (justincc)
2012-11-23 04:19:08 +00:00
parent 065d6d6fe1
commit 4b46a0d536
2 changed files with 7 additions and 8 deletions

View File

@@ -167,6 +167,9 @@ namespace OpenSim.Framework.Servers
m_console.Commands.AddCommand(
"General", false, "show info", "show info", "Show general information about the server", HandleShow);
m_console.Commands.AddCommand(
"General", false, "show version", "show version", "Show server version", HandleShow);
m_console.Commands.AddCommand(
"General", false, "show uptime", "show uptime", "Show server uptime", HandleShow);
@@ -222,6 +225,10 @@ namespace OpenSim.Framework.Servers
ShowInfo();
break;
case "version":
Notice(GetVersionText());
break;
case "uptime":
Notice(GetUptimeReport());
break;