aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-09 00:54:28 +0000
committerJustin Clark-Casey (justincc)2013-01-09 00:54:28 +0000
commitc28a2f05caae50590e64e61d8b7358ee92a7fca3 (patch)
treea6f35a029289a02bd2882b1d2e364ba47b4ce4c4
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-c28a2f05caae50590e64e61d8b7358ee92a7fca3.zip
opensim-SC_OLD-c28a2f05caae50590e64e61d8b7358ee92a7fca3.tar.gz
opensim-SC_OLD-c28a2f05caae50590e64e61d8b7358ee92a7fca3.tar.bz2
opensim-SC_OLD-c28a2f05caae50590e64e61d8b7358ee92a7fca3.tar.xz
minor: make spacing consistent in console help output
-rw-r--r--OpenSim/Framework/Console/CommandConsole.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs
index de30414..f9c9307 100644
--- a/OpenSim/Framework/Console/CommandConsole.cs
+++ b/OpenSim/Framework/Console/CommandConsole.cs
@@ -110,10 +110,11 @@ namespace OpenSim.Framework.Console
110 // Remove initial help keyword 110 // Remove initial help keyword
111 helpParts.RemoveAt(0); 111 helpParts.RemoveAt(0);
112 112
113 help.Add(""); // Will become a newline.
114
113 // General help 115 // General help
114 if (helpParts.Count == 0) 116 if (helpParts.Count == 0)
115 { 117 {
116 help.Add(""); // Will become a newline.
117 help.Add(GeneralHelpText); 118 help.Add(GeneralHelpText);
118 help.Add(ItemHelpText); 119 help.Add(ItemHelpText);
119 help.AddRange(CollectModulesHelp(tree)); 120 help.AddRange(CollectModulesHelp(tree));
@@ -127,6 +128,8 @@ namespace OpenSim.Framework.Console
127 help.AddRange(CollectHelp(helpParts)); 128 help.AddRange(CollectHelp(helpParts));
128 } 129 }
129 130
131 help.Add(""); // Will become a newline.
132
130 return help; 133 return help;
131 } 134 }
132 135
@@ -200,8 +203,8 @@ namespace OpenSim.Framework.Console
200 203
201 help.Add(commandInfo.descriptive_help); 204 help.Add(commandInfo.descriptive_help);
202 205
203 if (descriptiveHelp != string.Empty) 206// if (descriptiveHelp != string.Empty)
204 help.Add(string.Empty); 207// help.Add(string.Empty);
205 } 208 }
206 else 209 else
207 { 210 {