mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
minor: Make "stats show" an alias for "show stats" command.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user