aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorHomer Horwitz2008-09-12 22:39:17 +0000
committerHomer Horwitz2008-09-12 22:39:17 +0000
commit8ae8bec4d148ace42aa176f924399464d5bcf7eb (patch)
tree024830a1b89b94f6173a604064535063d30bc2b3 /OpenSim/Framework
parent* Patch http://opensimulator.org/mantis/view.php?id=2172 (diff)
downloadopensim-SC_OLD-8ae8bec4d148ace42aa176f924399464d5bcf7eb.zip
opensim-SC_OLD-8ae8bec4d148ace42aa176f924399464d5bcf7eb.tar.gz
opensim-SC_OLD-8ae8bec4d148ace42aa176f924399464d5bcf7eb.tar.bz2
opensim-SC_OLD-8ae8bec4d148ace42aa176f924399464d5bcf7eb.tar.xz
Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs2
-rw-r--r--OpenSim/Framework/Console/ConsoleCallbacksBase.cs2
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs10
3 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 767740b..69c7bc1 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -372,7 +372,7 @@ namespace OpenSim.Framework.Console
372 // Shows data about something 372 // Shows data about something
373 public void ShowCommands(string ShowWhat) 373 public void ShowCommands(string ShowWhat)
374 { 374 {
375 m_cmdParser.Show(ShowWhat); 375 m_cmdParser.Show(new string[] { ShowWhat });
376 } 376 }
377 377
378 public void Prompt() 378 public void Prompt()
diff --git a/OpenSim/Framework/Console/ConsoleCallbacksBase.cs b/OpenSim/Framework/Console/ConsoleCallbacksBase.cs
index 8505eea..d37c47a 100644
--- a/OpenSim/Framework/Console/ConsoleCallbacksBase.cs
+++ b/OpenSim/Framework/Console/ConsoleCallbacksBase.cs
@@ -30,6 +30,6 @@ namespace OpenSim.Framework.Console
30 public interface conscmd_callback 30 public interface conscmd_callback
31 { 31 {
32 void RunCmd(string cmd, string[] cmdparams); 32 void RunCmd(string cmd, string[] cmdparams);
33 void Show(string ShowWhat); 33 void Show(string[] showParams);
34 } 34 }
35} 35}
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 794dbd8..e149a35 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -254,7 +254,7 @@ namespace OpenSim.Framework.Servers
254 case "show": 254 case "show":
255 if (cmdparams.Length > 0) 255 if (cmdparams.Length > 0)
256 { 256 {
257 Show(cmdparams[0]); 257 Show(cmdparams);
258 } 258 }
259 break; 259 break;
260 260
@@ -317,12 +317,12 @@ namespace OpenSim.Framework.Servers
317 /// <summary> 317 /// <summary>
318 /// Outputs to the console information about the region 318 /// Outputs to the console information about the region
319 /// </summary> 319 /// </summary>
320 /// <param name="showWhat"> 320 /// <param name="showParams">
321 /// What information to display (valid arguments are "uptime", "users") 321 /// What information to display (valid arguments are "uptime", "users", ...)
322 /// </param> 322 /// </param>
323 public virtual void Show(string showWhat) 323 public virtual void Show(string[] showParams)
324 { 324 {
325 switch (showWhat) 325 switch (showParams[0])
326 { 326 {
327 case "info": 327 case "info":
328 Notice("Version: " + m_version); 328 Notice("Version: " + m_version);