minor: make spacing consistent in console help output

0.7.4-extended
Justin Clark-Casey (justincc) 2013-01-09 00:54:28 +00:00
parent bd33953c60
commit ce5c2ee506
1 changed files with 6 additions and 3 deletions

View File

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