diff options
author | Justin Clarke Casey | 2008-09-15 17:45:48 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-15 17:45:48 +0000 |
commit | 9170361bee439ccd7f25030fcfb14701a4e8add0 (patch) | |
tree | 65abfc214b267b665daf3e419f26bb23a58f3e60 /OpenSim/Grid/UserServer/Main.cs | |
parent | * Add "reset user password" command to standalone region console (diff) | |
download | opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.zip opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.gz opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.bz2 opensim-SC_OLD-9170361bee439ccd7f25030fcfb14701a4e8add0.tar.xz |
* Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 94e0728..0a64925 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -227,12 +227,6 @@ namespace OpenSim.Grid.UserServer | |||
227 | 227 | ||
228 | switch (cmd) | 228 | switch (cmd) |
229 | { | 229 | { |
230 | case "help": | ||
231 | m_console.Notice("create user - create a new user"); | ||
232 | m_console.Notice( | ||
233 | "logoff-user <firstname> <lastname> <message> - logs off the specified user from the grid"); | ||
234 | break; | ||
235 | |||
236 | case "create": | 230 | case "create": |
237 | do_create(cmdparams[0]); | 231 | do_create(cmdparams[0]); |
238 | break; | 232 | break; |
@@ -309,6 +303,15 @@ namespace OpenSim.Grid.UserServer | |||
309 | break; | 303 | break; |
310 | } | 304 | } |
311 | } | 305 | } |
306 | |||
307 | protected override void ShowHelp(string[] helpArgs) | ||
308 | { | ||
309 | base.ShowHelp(helpArgs); | ||
310 | |||
311 | m_console.Notice("create user - create a new user"); | ||
312 | m_console.Notice( | ||
313 | "logoff-user <firstname> <lastname> <message> - logs off the specified user from the grid"); | ||
314 | } | ||
312 | 315 | ||
313 | public override void Shutdown() | 316 | public override void Shutdown() |
314 | { | 317 | { |