diff options
author | Justin Clarke Casey | 2009-02-05 21:35:59 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-05 21:35:59 +0000 |
commit | 732cd838b1ce2bc5d2c312f510818fd63db76be4 (patch) | |
tree | 66617238b33626990d7eb2d9f5da041f3e57eaa6 /OpenSim/Region/Environment/Interfaces/ICommander.cs | |
parent | * Use the commander name to register module commanders instead of providing t... (diff) | |
download | opensim-SC-732cd838b1ce2bc5d2c312f510818fd63db76be4.zip opensim-SC-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.gz opensim-SC-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.bz2 opensim-SC-732cd838b1ce2bc5d2c312f510818fd63db76be4.tar.xz |
* Make existing module commanders register as help topics
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/ICommander.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ICommander.cs b/OpenSim/Region/Environment/Interfaces/ICommander.cs index a267115..a61ce490 100644 --- a/OpenSim/Region/Environment/Interfaces/ICommander.cs +++ b/OpenSim/Region/Environment/Interfaces/ICommander.cs | |||
@@ -29,10 +29,15 @@ namespace OpenSim.Region.Environment.Interfaces | |||
29 | { | 29 | { |
30 | public interface ICommander | 30 | public interface ICommander |
31 | { | 31 | { |
32 | /// <summary> | 32 | /// <value> |
33 | /// The name of this commander | 33 | /// The name of this commander |
34 | /// </summary> | 34 | /// </value> |
35 | string Name { get; } | 35 | string Name { get; } |
36 | |||
37 | /// <value> | ||
38 | /// Provide general help information about this commander. | ||
39 | /// </value> | ||
40 | string Help { get; } | ||
36 | 41 | ||
37 | void ProcessConsoleCommand(string function, string[] args); | 42 | void ProcessConsoleCommand(string function, string[] args); |
38 | void RegisterCommand(string commandName, ICommand command); | 43 | void RegisterCommand(string commandName, ICommand command); |