diff options
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index d703d78..9490013 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.AddRange(CollectAllCommandsHelp()); | 119 | help.AddRange(CollectAllCommandsHelp()); |
119 | } | 120 | } |
@@ -129,6 +130,8 @@ namespace OpenSim.Framework.Console | |||
129 | help.AddRange(CollectHelp(helpParts)); | 130 | help.AddRange(CollectHelp(helpParts)); |
130 | } | 131 | } |
131 | 132 | ||
133 | help.Add(""); // Will become a newline. | ||
134 | |||
132 | return help; | 135 | return help; |
133 | } | 136 | } |
134 | 137 | ||
@@ -199,14 +202,11 @@ namespace OpenSim.Framework.Console | |||
199 | 202 | ||
200 | string descriptiveHelp = commandInfo.descriptive_help; | 203 | string descriptiveHelp = commandInfo.descriptive_help; |
201 | 204 | ||
202 | // If we do have some descriptive help then insert a spacing line before and after for readability. | 205 | // If we do have some descriptive help then insert a spacing line before for readability. |
203 | if (descriptiveHelp != string.Empty) | 206 | if (descriptiveHelp != string.Empty) |
204 | help.Add(string.Empty); | 207 | help.Add(string.Empty); |
205 | 208 | ||
206 | help.Add(commandInfo.descriptive_help); | 209 | help.Add(commandInfo.descriptive_help); |
207 | |||
208 | if (descriptiveHelp != string.Empty) | ||
209 | help.Add(string.Empty); | ||
210 | } | 210 | } |
211 | else | 211 | else |
212 | { | 212 | { |