minor: make spacing consistent in console help output

user_profiles
Justin Clark-Casey (justincc) 2013-01-09 00:54:28 +00:00
parent e4fad4a09d
commit c28a2f05ca
1 changed files with 6 additions and 3 deletions

View File

@ -110,10 +110,11 @@ namespace OpenSim.Framework.Console
// Remove initial help keyword // Remove initial help keyword
helpParts.RemoveAt(0); helpParts.RemoveAt(0);
help.Add(""); // Will become a newline.
// General help // General help
if (helpParts.Count == 0) if (helpParts.Count == 0)
{ {
help.Add(""); // Will become a newline.
help.Add(GeneralHelpText); help.Add(GeneralHelpText);
help.Add(ItemHelpText); help.Add(ItemHelpText);
help.AddRange(CollectModulesHelp(tree)); help.AddRange(CollectModulesHelp(tree));
@ -127,6 +128,8 @@ namespace OpenSim.Framework.Console
help.AddRange(CollectHelp(helpParts)); help.AddRange(CollectHelp(helpParts));
} }
help.Add(""); // Will become a newline.
return help; return help;
} }
@ -200,8 +203,8 @@ namespace OpenSim.Framework.Console
help.Add(commandInfo.descriptive_help); help.Add(commandInfo.descriptive_help);
if (descriptiveHelp != string.Empty) // if (descriptiveHelp != string.Empty)
help.Add(string.Empty); // help.Add(string.Empty);
} }
else else
{ {