mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
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
This commit is contained in:
@@ -75,6 +75,11 @@ namespace OpenSim.Framework.Console
|
||||
{
|
||||
System.Console.WriteLine(text);
|
||||
}
|
||||
|
||||
public virtual void OutputFormat(string format, params string[] components)
|
||||
{
|
||||
Output(string.Format(format, components));
|
||||
}
|
||||
|
||||
public string CmdPrompt(string p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user