From ee205e7e812e170f670e690a4e0fa9caa652f226 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 1 Oct 2009 01:00:09 +0900 Subject: Formatting cleanup. --- OpenSim/Framework/Console/CommandConsole.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Framework/Console/CommandConsole.cs') diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 06136ff..9671bc2 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs @@ -88,7 +88,7 @@ namespace OpenSim.Framework.Console /// Parsed parts of the help string. If empty then general help is returned. /// public List GetHelp(string[] cmd) - { + { List help = new List(); List helpParts = new List(cmd); @@ -115,7 +115,7 @@ namespace OpenSim.Framework.Console /// /// private List CollectHelp(List helpParts) - { + { string originalHelpRequest = string.Join(" ", helpParts.ToArray()); List help = new List(); @@ -132,7 +132,7 @@ namespace OpenSim.Framework.Console if (dict[helpPart] is Dictionary) dict = (Dictionary)dict[helpPart]; - helpParts.RemoveAt(0); + helpParts.RemoveAt(0); } // There was a command for the given help string @@ -149,7 +149,7 @@ namespace OpenSim.Framework.Console } return help; - } + } private List CollectHelp(Dictionary dict) { @@ -180,7 +180,7 @@ namespace OpenSim.Framework.Console /// /// public void AddCommand(string module, bool shared, string command, - string help, string longhelp, CommandDelegate fn) + string help, string longhelp, CommandDelegate fn) { AddCommand(module, shared, command, help, longhelp, String.Empty, fn); -- cgit v1.1