diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Framework/InterfaceCommander')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/InterfaceCommander/Command.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/InterfaceCommander/Command.cs b/OpenSim/Region/Environment/Modules/Framework/InterfaceCommander/Command.cs index 0ad95ae..b6114e8 100644 --- a/OpenSim/Region/Environment/Modules/Framework/InterfaceCommander/Command.cs +++ b/OpenSim/Region/Environment/Modules/Framework/InterfaceCommander/Command.cs | |||
@@ -88,6 +88,18 @@ namespace OpenSim.Region.Environment.Modules.Framework.InterfaceCommander | |||
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | public string ShortHelp() | ||
92 | { | ||
93 | string help = m_name; | ||
94 | |||
95 | foreach (CommandArgument arg in m_args) | ||
96 | { | ||
97 | help += " <" + arg.Name + ">"; | ||
98 | } | ||
99 | |||
100 | return help; | ||
101 | } | ||
102 | |||
91 | public void ShowConsoleHelp() | 103 | public void ShowConsoleHelp() |
92 | { | 104 | { |
93 | Console.WriteLine("== " + Name + " =="); | 105 | Console.WriteLine("== " + Name + " =="); |