diff options
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 2008613..b17dbc0 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -141,7 +141,17 @@ namespace OpenSim.Framework.Console | |||
141 | CommandInfo commandInfo = (CommandInfo)dict[String.Empty]; | 141 | CommandInfo commandInfo = (CommandInfo)dict[String.Empty]; |
142 | help.Add(commandInfo.help_text); | 142 | help.Add(commandInfo.help_text); |
143 | help.Add(commandInfo.long_help); | 143 | help.Add(commandInfo.long_help); |
144 | |||
145 | string descriptiveHelp = commandInfo.descriptive_help; | ||
146 | |||
147 | // If we do have some descriptive help then insert a spacing line before and after for readability. | ||
148 | if (descriptiveHelp != string.Empty) | ||
149 | help.Add(string.Empty); | ||
150 | |||
144 | help.Add(commandInfo.descriptive_help); | 151 | help.Add(commandInfo.descriptive_help); |
152 | |||
153 | if (descriptiveHelp != string.Empty) | ||
154 | help.Add(string.Empty); | ||
145 | } | 155 | } |
146 | else | 156 | else |
147 | { | 157 | { |