refactor: rename "debug lludp throttle status" to "debug lludp throttle get" to match set command

mb-throttle-test
Justin Clark-Casey (justincc) 2014-09-30 18:43:02 +01:00
parent e144958e03
commit f0fd2fa325
1 changed files with 6 additions and 6 deletions

View File

@ -774,10 +774,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
MainConsole.Instance.Commands.AddCommand( MainConsole.Instance.Commands.AddCommand(
"Debug", "Debug",
false, false,
"debug lludp throttle status", "debug lludp throttle get",
"debug lludp throttle status <avatar-first-name> <avatar-last-name>", "debug lludp throttle get <avatar-first-name> <avatar-last-name>",
"Return status information about throttles.", "Return debug settings for throttles.",
HandleThrottleStatusCommand); HandleThrottleGetCommand);
MainConsole.Instance.Commands.AddCommand( MainConsole.Instance.Commands.AddCommand(
"Debug", "Debug",
@ -899,14 +899,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
} }
private void HandleThrottleStatusCommand(string module, string[] args) private void HandleThrottleGetCommand(string module, string[] args)
{ {
if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != Scene) if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != Scene)
return; return;
if (args.Length != 6) if (args.Length != 6)
{ {
MainConsole.Instance.OutputFormat("Usage: debug lludp throttle status <avatar-first-name> <avatar-last-name>"); MainConsole.Instance.OutputFormat("Usage: debug lludp throttle get <avatar-first-name> <avatar-last-name>");
return; return;
} }