diff options
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 106b406..d703d78 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -144,8 +144,11 @@ namespace OpenSim.Framework.Console | |||
144 | { | 144 | { |
145 | foreach (List<CommandInfo> commands in m_modulesCommands.Values) | 145 | foreach (List<CommandInfo> commands in m_modulesCommands.Values) |
146 | { | 146 | { |
147 | var ourHelpText = commands.ConvertAll(c => string.Format("{0} - {1}", c.help_text, c.long_help)); | 147 | foreach (CommandInfo c in commands) |
148 | help.AddRange(ourHelpText); | 148 | { |
149 | if (c.long_help != String.Empty) | ||
150 | help.Add(string.Format("{0} - {1}", c.help_text, c.long_help)); | ||
151 | } | ||
149 | } | 152 | } |
150 | } | 153 | } |
151 | 154 | ||