aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-09 00:54:28 +0000
committerJustin Clark-Casey (justincc)2013-01-25 23:48:42 +0000
commit880b2361f53bcf30a278f660007c4e2d1c33683b (patch)
tree64b2e89ff15aab3ffe6d4746d120f32386bc7e80 /OpenSim
parentminor: Fix command match of "debug script" command to "debug scripts" to matc... (diff)
downloadopensim-SC_OLD-880b2361f53bcf30a278f660007c4e2d1c33683b.zip
opensim-SC_OLD-880b2361f53bcf30a278f660007c4e2d1c33683b.tar.gz
opensim-SC_OLD-880b2361f53bcf30a278f660007c4e2d1c33683b.tar.bz2
opensim-SC_OLD-880b2361f53bcf30a278f660007c4e2d1c33683b.tar.xz
minor: make spacing consistent in console help output
Diffstat (limited to 'OpenSim')
-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 {