diff options
Diffstat (limited to 'OpenSim/Framework/Servers/ServerBase.cs')
-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; |