diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs index acf2c3e..6030706 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
54 | /// The maximum major version of archive that we can read. Minor versions shouldn't need a max number since version | 54 | /// The maximum major version of archive that we can read. Minor versions shouldn't need a max number since version |
55 | /// bumps here should be compatible. | 55 | /// bumps here should be compatible. |
56 | /// </summary> | 56 | /// </summary> |
57 | public static int MAX_MAJOR_VERSION = 0; | 57 | public static int MAX_MAJOR_VERSION = 1; |
58 | 58 | ||
59 | protected TarArchiveReader archive; | 59 | protected TarArchiveReader archive; |
60 | 60 | ||
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs index 1e18095..b1c2a3c 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | |||
@@ -109,12 +109,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
109 | 109 | ||
110 | scene.AddCommand( | 110 | scene.AddCommand( |
111 | this, "load iar", | 111 | this, "load iar", |
112 | "load iar <first> <last> <inventory path> <password> [<IAR path>]", | 112 | "load iar [--merge] <first> <last> <inventory path> <password> [<IAR path>]", |
113 | //"load iar [--merge] <first> <last> <inventory path> <password> [<IAR path>]", | ||
114 | "Load user inventory archive (IAR).", | 113 | "Load user inventory archive (IAR).", |
115 | //"--merge is an option which merges the loaded IAR with existing inventory folders where possible, rather than always creating new ones" | 114 | "--merge is an option which merges the loaded IAR with existing inventory folders where possible, rather than always creating new ones" |
116 | //+ "<first> is user's first name." + Environment.NewLine | 115 | + "<first> is user's first name." + Environment.NewLine |
117 | "<first> is user's first name." + Environment.NewLine | ||
118 | + "<last> is user's last name." + Environment.NewLine | 116 | + "<last> is user's last name." + Environment.NewLine |
119 | + "<inventory path> is the path inside the user's inventory where the IAR should be loaded." + Environment.NewLine | 117 | + "<inventory path> is the path inside the user's inventory where the IAR should be loaded." + Environment.NewLine |
120 | + "<password> is the user's password." + Environment.NewLine | 118 | + "<password> is the user's password." + Environment.NewLine |
@@ -124,7 +122,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
124 | 122 | ||
125 | scene.AddCommand( | 123 | scene.AddCommand( |
126 | this, "save iar", | 124 | this, "save iar", |
127 | "save iar <first> <last> <inventory path> <password> [--p|-profile=<url>] [<IAR path>]", | 125 | "save iar [--p|-profile=<url>] <first> <last> <inventory path> <password> [<IAR path>]", |
128 | "Save user inventory archive (IAR).", | 126 | "Save user inventory archive (IAR).", |
129 | "<first> is the user's first name." + Environment.NewLine | 127 | "<first> is the user's first name." + Environment.NewLine |
130 | + "<last> is the user's last name." + Environment.NewLine | 128 | + "<last> is the user's last name." + Environment.NewLine |
@@ -358,7 +356,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
358 | if (mainParams.Count < 6) | 356 | if (mainParams.Count < 6) |
359 | { | 357 | { |
360 | m_log.Error( | 358 | m_log.Error( |
361 | "[INVENTORY ARCHIVER]: usage is load iar [--merge] <first name> <last name> <inventory path> <user password> [<load file path>]"); | 359 | "[INVENTORY ARCHIVER]: usage is load iar [--merge] <first name> <last name> <inventory path> <user password> [<load file path>]"); |
362 | return; | 360 | return; |
363 | } | 361 | } |
364 | 362 | ||
@@ -404,7 +402,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
404 | if (mainParams.Count < 6) | 402 | if (mainParams.Count < 6) |
405 | { | 403 | { |
406 | m_log.Error( | 404 | m_log.Error( |
407 | "[INVENTORY ARCHIVER]: usage is save iar <first name> <last name> <inventory path> <user password> [<save file path>]"); | 405 | "[INVENTORY ARCHIVER]: usage is save iar [--p|-profile=<url>] <first name> <last name> <inventory path> <user password> [<save file path>]"); |
408 | return; | 406 | return; |
409 | } | 407 | } |
410 | 408 | ||