diff options
author | Justin Clark-Casey (justincc) | 2014-03-19 00:35:49 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-03-19 00:35:49 +0000 |
commit | 98587665160ae82fcc26c7cd03bded8e0e81751c (patch) | |
tree | 45112b6d7ef71ae7220ca6962b7c3162e239f9ce /OpenSim/Framework/Monitoring/StatsManager.cs | |
parent | Rename "debug stats record" command to "stats record" for consistency. Move ... (diff) | |
download | opensim-SC-98587665160ae82fcc26c7cd03bded8e0e81751c.zip opensim-SC-98587665160ae82fcc26c7cd03bded8e0e81751c.tar.gz opensim-SC-98587665160ae82fcc26c7cd03bded8e0e81751c.tar.bz2 opensim-SC-98587665160ae82fcc26c7cd03bded8e0e81751c.tar.xz |
minor: Make "stats show" an alias for "show stats" command.
Diffstat (limited to 'OpenSim/Framework/Monitoring/StatsManager.cs')
-rw-r--r-- | OpenSim/Framework/Monitoring/StatsManager.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs index 8fcbdca..0bac247 100644 --- a/OpenSim/Framework/Monitoring/StatsManager.cs +++ b/OpenSim/Framework/Monitoring/StatsManager.cs | |||
@@ -72,8 +72,8 @@ namespace OpenSim.Framework.Monitoring | |||
72 | console.Commands.AddCommand( | 72 | console.Commands.AddCommand( |
73 | "General", | 73 | "General", |
74 | false, | 74 | false, |
75 | "show stats", | 75 | "stats show", |
76 | "show stats [list|all|(<category>[.<container>])+", | 76 | "stats show [list|all|(<category>[.<container>])+", |
77 | "Show statistical information for this server", | 77 | "Show statistical information for this server", |
78 | "If no final argument is specified then legacy statistics information is currently shown.\n" | 78 | "If no final argument is specified then legacy statistics information is currently shown.\n" |
79 | + "'list' argument will show statistic categories.\n" | 79 | + "'list' argument will show statistic categories.\n" |
@@ -84,6 +84,14 @@ namespace OpenSim.Framework.Monitoring | |||
84 | + "THIS STATS FACILITY IS EXPERIMENTAL AND DOES NOT YET CONTAIN ALL STATS", | 84 | + "THIS STATS FACILITY IS EXPERIMENTAL AND DOES NOT YET CONTAIN ALL STATS", |
85 | HandleShowStatsCommand); | 85 | HandleShowStatsCommand); |
86 | 86 | ||
87 | console.Commands.AddCommand( | ||
88 | "General", | ||
89 | false, | ||
90 | "show stats", | ||
91 | "show stats [list|all|(<category>[.<container>])+", | ||
92 | "Alias for 'stats show' command", | ||
93 | HandleShowStatsCommand); | ||
94 | |||
87 | StatsLogger.RegisterConsoleCommands(console); | 95 | StatsLogger.RegisterConsoleCommands(console); |
88 | } | 96 | } |
89 | 97 | ||