minor: Make "stats show" an alias for "show stats" command.
parent
e6080a38c5
commit
9858766516
|
@ -72,8 +72,8 @@ namespace OpenSim.Framework.Monitoring
|
||||||
console.Commands.AddCommand(
|
console.Commands.AddCommand(
|
||||||
"General",
|
"General",
|
||||||
false,
|
false,
|
||||||
"show stats",
|
"stats show",
|
||||||
"show stats [list|all|(<category>[.<container>])+",
|
"stats show [list|all|(<category>[.<container>])+",
|
||||||
"Show statistical information for this server",
|
"Show statistical information for this server",
|
||||||
"If no final argument is specified then legacy statistics information is currently shown.\n"
|
"If no final argument is specified then legacy statistics information is currently shown.\n"
|
||||||
+ "'list' argument will show statistic categories.\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",
|
+ "THIS STATS FACILITY IS EXPERIMENTAL AND DOES NOT YET CONTAIN ALL STATS",
|
||||||
HandleShowStatsCommand);
|
HandleShowStatsCommand);
|
||||||
|
|
||||||
|
console.Commands.AddCommand(
|
||||||
|
"General",
|
||||||
|
false,
|
||||||
|
"show stats",
|
||||||
|
"show stats [list|all|(<category>[.<container>])+",
|
||||||
|
"Alias for 'stats show' command",
|
||||||
|
HandleShowStatsCommand);
|
||||||
|
|
||||||
StatsLogger.RegisterConsoleCommands(console);
|
StatsLogger.RegisterConsoleCommands(console);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue