aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 4ab48e3..cf2bf33 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -242,22 +242,22 @@ namespace OpenSim
242 ChangeSelectedRegion); 242 ChangeSelectedRegion);
243 243
244 m_console.Commands.AddCommand("Archiving", false, "save xml", 244 m_console.Commands.AddCommand("Archiving", false, "save xml",
245 "save xml", 245 "save xml [<file name>]",
246 "Save a region's data in XML format", 246 "Save a region's data in XML format",
247 SaveXml); 247 SaveXml);
248 248
249 m_console.Commands.AddCommand("Archiving", false, "save xml2", 249 m_console.Commands.AddCommand("Archiving", false, "save xml2",
250 "save xml2", 250 "save xml2 [<file name>]",
251 "Save a region's data in XML2 format", 251 "Save a region's data in XML2 format",
252 SaveXml2); 252 SaveXml2);
253 253
254 m_console.Commands.AddCommand("Archiving", false, "load xml", 254 m_console.Commands.AddCommand("Archiving", false, "load xml",
255 "load xml [-newIDs [<x> <y> <z>]]", 255 "load xml [<file name> [-newUID [<x> <y> <z>]]]",
256 "Load a region's data from XML format", 256 "Load a region's data from XML format",
257 LoadXml); 257 LoadXml);
258 258
259 m_console.Commands.AddCommand("Archiving", false, "load xml2", 259 m_console.Commands.AddCommand("Archiving", false, "load xml2",
260 "load xml2", 260 "load xml2 [<file name>]",
261 "Load a region's data from XML2 format", 261 "Load a region's data from XML2 format",
262 LoadXml2); 262 LoadXml2);
263 263
@@ -1068,7 +1068,7 @@ namespace OpenSim
1068 /// <param name="cmdparams"></param> 1068 /// <param name="cmdparams"></param>
1069 protected void SavePrimsXml2(string module, string[] cmdparams) 1069 protected void SavePrimsXml2(string module, string[] cmdparams)
1070 { 1070 {
1071 if (cmdparams.Length > 5) 1071 if (cmdparams.Length > 4)
1072 { 1072 {
1073 SceneManager.SaveNamedPrimsToXml2(cmdparams[3], cmdparams[4]); 1073 SceneManager.SaveNamedPrimsToXml2(cmdparams[3], cmdparams[4]);
1074 } 1074 }
@@ -1087,7 +1087,7 @@ namespace OpenSim
1087 { 1087 {
1088 MainConsole.Instance.Output("PLEASE NOTE, save-xml is DEPRECATED and may be REMOVED soon. If you are using this and there is some reason you can't use save-xml2, please file a mantis detailing the reason."); 1088 MainConsole.Instance.Output("PLEASE NOTE, save-xml is DEPRECATED and may be REMOVED soon. If you are using this and there is some reason you can't use save-xml2, please file a mantis detailing the reason.");
1089 1089
1090 if (cmdparams.Length > 0) 1090 if (cmdparams.Length > 2)
1091 { 1091 {
1092 SceneManager.SaveCurrentSceneToXml(cmdparams[2]); 1092 SceneManager.SaveCurrentSceneToXml(cmdparams[2]);
1093 } 1093 }