minor: Make "stats show" an alias for "show stats" command.

0.8.0.3
Justin Clark-Casey (justincc) 2014-03-19 00:35:49 +00:00
parent e6080a38c5
commit 9858766516
1 changed files with 10 additions and 2 deletions

View File

@ -72,8 +72,8 @@ namespace OpenSim.Framework.Monitoring
console.Commands.AddCommand(
"General",
false,
"show stats",
"show stats [list|all|(<category>[.<container>])+",
"stats show",
"stats show [list|all|(<category>[.<container>])+",
"Show statistical information for this server",
"If no final argument is specified then legacy statistics information is currently shown.\n"
+ "'list' argument will show statistic categories.\n"
@ -84,6 +84,14 @@ namespace OpenSim.Framework.Monitoring
+ "THIS STATS FACILITY IS EXPERIMENTAL AND DOES NOT YET CONTAIN ALL STATS",
HandleShowStatsCommand);
console.Commands.AddCommand(
"General",
false,
"show stats",
"show stats [list|all|(<category>[.<container>])+",
"Alias for 'stats show' command",
HandleShowStatsCommand);
StatsLogger.RegisterConsoleCommands(console);
}