diff options
author | Tom Grimshaw | 2010-05-29 01:07:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-29 01:07:19 -0700 |
commit | 3a5d379db840570b4a759afc1f51ff82e61a5887 (patch) | |
tree | bef5b2e8149a89d49e38e9e8cfbbb48e0fa0db29 /OpenSim/Framework/Console/CommandConsole.cs | |
parent | Stop IGridService from throwing a fatal exception when an IPEndPoint cannot b... (diff) | |
parent | Get the user's DOB back from the server response properly. (diff) | |
download | opensim-SC-3a5d379db840570b4a759afc1f51ff82e61a5887.zip opensim-SC-3a5d379db840570b4a759afc1f51ff82e61a5887.tar.gz opensim-SC-3a5d379db840570b4a759afc1f51ff82e61a5887.tar.bz2 opensim-SC-3a5d379db840570b4a759afc1f51ff82e61a5887.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 66f483c..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 | { |
@@ -182,8 +192,7 @@ namespace OpenSim.Framework.Console | |||
182 | public void AddCommand(string module, bool shared, string command, | 192 | public void AddCommand(string module, bool shared, string command, |
183 | string help, string longhelp, CommandDelegate fn) | 193 | string help, string longhelp, CommandDelegate fn) |
184 | { | 194 | { |
185 | AddCommand(module, shared, command, help, longhelp, | 195 | AddCommand(module, shared, command, help, longhelp, String.Empty, fn); |
186 | String.Empty, fn); | ||
187 | } | 196 | } |
188 | 197 | ||
189 | /// <summary> | 198 | /// <summary> |