diff options
author | Justin Clark-Casey (justincc) | 2011-05-26 01:27:01 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-26 01:27:01 +0100 |
commit | 6f4d079fc5b28ef6657fe2baf6ef305a54e674d2 (patch) | |
tree | 2261f22c6978d4bab7366d0b17afb0f6342fcb51 /OpenSim/Region/Application | |
parent | Revert "Make client event handlers for money only work on root agents" (diff) | |
download | opensim-SC-6f4d079fc5b28ef6657fe2baf6ef305a54e674d2.zip opensim-SC-6f4d079fc5b28ef6657fe2baf6ef305a54e674d2.tar.gz opensim-SC-6f4d079fc5b28ef6657fe2baf6ef305a54e674d2.tar.bz2 opensim-SC-6f4d079fc5b28ef6657fe2baf6ef305a54e674d2.tar.xz |
Add a --noassets option to "save oar".
This switch stops any assets being saved in the oar.
This can be useful if you're using OAR to backup regions and you know you'll always have the original asset database available.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 39004d4..8add2af 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -267,12 +267,13 @@ namespace OpenSim | |||
267 | 267 | ||
268 | m_console.Commands.AddCommand("region", false, "save oar", | 268 | m_console.Commands.AddCommand("region", false, "save oar", |
269 | //"save oar [-v|--version=<N>] [-p|--profile=<url>] [<OAR path>]", | 269 | //"save oar [-v|--version=<N>] [-p|--profile=<url>] [<OAR path>]", |
270 | "save oar [-p|--profile=<url>] [<OAR path>]", | 270 | "save oar [-p|--profile=<url>] [--noassets] [<OAR path>]", |
271 | "Save a region's data to an OAR archive.", | 271 | "Save a region's data to an OAR archive.", |
272 | // "-v|--version=<N> generates scene objects as per older versions of the serialization (e.g. -v=0)" + Environment.NewLine | 272 | // "-v|--version=<N> generates scene objects as per older versions of the serialization (e.g. -v=0)" + Environment.NewLine |
273 | "-p|--profile=<url> adds the url of the profile service to the saved user information" + Environment.NewLine | 273 | "-p|--profile=<url> adds the url of the profile service to the saved user information." + Environment.NewLine |
274 | + "The OAR path must be a filesystem path." | 274 | + " The OAR path must be a filesystem path." |
275 | + " If this is not given then the oar is saved to region.oar in the current directory.", | 275 | + " If this is not given then the oar is saved to region.oar in the current directory." + Environment.NewLine |
276 | + "--noassets stops assets being saved to the OAR.", | ||
276 | SaveOar); | 277 | SaveOar); |
277 | 278 | ||
278 | m_console.Commands.AddCommand("region", false, "edit scale", | 279 | m_console.Commands.AddCommand("region", false, "edit scale", |