aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/CommandConsole.cs13
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs6
2 files changed, 16 insertions, 3 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>
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 655df9d..f0f8d01 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -286,7 +286,11 @@ namespace OpenSim.Framework.Servers
286 286
287 EnhanceVersionInformation(); 287 EnhanceVersionInformation();
288 288
289 m_log.Info("[STARTUP]: Version: " + m_version + "\n"); 289 m_log.Info("[STARTUP]: OpenSimulator version: " + m_version + Environment.NewLine);
290 // clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and
291 // the clr version number doesn't match the project version number under Mono.
292 //m_log.Info("[STARTUP]: Virtual machine runtime version: " + Environment.Version + Environment.NewLine);
293 m_log.Info("[STARTUP]: Operating system version: " + Environment.OSVersion + Environment.NewLine);
290 294
291 StartupSpecific(); 295 StartupSpecific();
292 296