diff options
author | Justin Clark-Casey (justincc) | 2012-11-23 04:19:08 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-11-23 04:19:08 +0000 |
commit | 4b46a0d5368ae1ae95b5ba817f0ef4f7ed0c2692 (patch) | |
tree | a537b8297ca9426a2fe1fa4ba81a99212da037ea /OpenSim/Framework/Servers/ServerBase.cs | |
parent | Delete unused BaseHttpServer.HandleAgentRequest() (diff) | |
download | opensim-SC-4b46a0d5368ae1ae95b5ba817f0ef4f7ed0c2692.zip opensim-SC-4b46a0d5368ae1ae95b5ba817f0ef4f7ed0c2692.tar.gz opensim-SC-4b46a0d5368ae1ae95b5ba817f0ef4f7ed0c2692.tar.bz2 opensim-SC-4b46a0d5368ae1ae95b5ba817f0ef4f7ed0c2692.tar.xz |
Make "show version" console command available across all servers
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/ServerBase.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs index c182a3a..431dc9e 100644 --- a/OpenSim/Framework/Servers/ServerBase.cs +++ b/OpenSim/Framework/Servers/ServerBase.cs | |||
@@ -168,6 +168,9 @@ namespace OpenSim.Framework.Servers | |||
168 | "General", false, "show info", "show info", "Show general information about the server", HandleShow); | 168 | "General", false, "show info", "show info", "Show general information about the server", HandleShow); |
169 | 169 | ||
170 | m_console.Commands.AddCommand( | 170 | m_console.Commands.AddCommand( |
171 | "General", false, "show version", "show version", "Show server version", HandleShow); | ||
172 | |||
173 | m_console.Commands.AddCommand( | ||
171 | "General", false, "show uptime", "show uptime", "Show server uptime", HandleShow); | 174 | "General", false, "show uptime", "show uptime", "Show server uptime", HandleShow); |
172 | 175 | ||
173 | m_console.Commands.AddCommand( | 176 | m_console.Commands.AddCommand( |
@@ -222,6 +225,10 @@ namespace OpenSim.Framework.Servers | |||
222 | ShowInfo(); | 225 | ShowInfo(); |
223 | break; | 226 | break; |
224 | 227 | ||
228 | case "version": | ||
229 | Notice(GetVersionText()); | ||
230 | break; | ||
231 | |||
225 | case "uptime": | 232 | case "uptime": |
226 | Notice(GetUptimeReport()); | 233 | Notice(GetUptimeReport()); |
227 | break; | 234 | break; |