aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/ConsoleBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-01-21 23:59:55 +0000
committerJustin Clark-Casey (justincc)2011-01-21 23:59:55 +0000
commitcb14e1d2720fdee0c77280d7c397c02116c278ca (patch)
tree0c899fb54c3e26423dffa1377eba426f1bd79b4c /OpenSim/Framework/Console/ConsoleBase.cs
parentremove some mono compiler warnings (diff)
downloadopensim-SC_OLD-cb14e1d2720fdee0c77280d7c397c02116c278ca.zip
opensim-SC_OLD-cb14e1d2720fdee0c77280d7c397c02116c278ca.tar.gz
opensim-SC_OLD-cb14e1d2720fdee0c77280d7c397c02116c278ca.tar.bz2
opensim-SC_OLD-cb14e1d2720fdee0c77280d7c397c02116c278ca.tar.xz
Update the "config get <section> <key>" command to "config get [<section>] [<key>]"
The config get command shows a current config value on the console. Now, if <key> is omitted then all the values for the given section are printed. If <section> is ommitted then all sections and all keys are printed. Current config can also be dumped to a file using "config save <path>". This can be handy for resolving or eliminating config issues
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rwxr-xr-xOpenSim/Framework/Console/ConsoleBase.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 22ce880..3ef76cf 100755
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -75,6 +75,11 @@ namespace OpenSim.Framework.Console
75 { 75 {
76 System.Console.WriteLine(text); 76 System.Console.WriteLine(text);
77 } 77 }
78
79 public virtual void OutputFormat(string format, params string[] components)
80 {
81 Output(string.Format(format, components));
82 }
78 83
79 public string CmdPrompt(string p) 84 public string CmdPrompt(string p)
80 { 85 {