diff options
author | Justin Clark-Casey (justincc) | 2012-01-05 21:11:32 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-05 21:11:32 +0000 |
commit | da0fc3c8f572adba69e52e1d7f528946ab1f6f23 (patch) | |
tree | 019ce96ad350912b15421cf66f38e2dab9da2d67 /OpenSim/Server/Handlers | |
parent | Add size and temporary information to "show asset" command (diff) | |
download | opensim-SC-da0fc3c8f572adba69e52e1d7f528946ab1f6f23.zip opensim-SC-da0fc3c8f572adba69e52e1d7f528946ab1f6f23.tar.gz opensim-SC-da0fc3c8f572adba69e52e1d7f528946ab1f6f23.tar.bz2 opensim-SC-da0fc3c8f572adba69e52e1d7f528946ab1f6f23.tar.xz |
Make "show asset" command available simulator side. Actually make the service command be "show asset" instead of "show digest" this time.
Last time I accidnetally just changed the usage message.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r-- | OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs index 5dcb33b..9b80245 100644 --- a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs +++ b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | |||
@@ -73,10 +73,10 @@ namespace OpenSim.Server.Handlers.Asset | |||
73 | server.AddStreamHandler(new AssetServerDeleteHandler(m_AssetService, allowDelete)); | 73 | server.AddStreamHandler(new AssetServerDeleteHandler(m_AssetService, allowDelete)); |
74 | 74 | ||
75 | MainConsole.Instance.Commands.AddCommand("kfs", false, | 75 | MainConsole.Instance.Commands.AddCommand("kfs", false, |
76 | "show digest", | 76 | "show asset", |
77 | "show digest <ID>", | 77 | "show asset <ID>", |
78 | "Show asset digest", | 78 | "Show asset information", |
79 | HandleShowDigest); | 79 | HandleShowAsset); |
80 | 80 | ||
81 | MainConsole.Instance.Commands.AddCommand("kfs", false, | 81 | MainConsole.Instance.Commands.AddCommand("kfs", false, |
82 | "delete asset", | 82 | "delete asset", |
@@ -153,7 +153,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
153 | MainConsole.Instance.OutputFormat("Asset dumped to file {0}", fileName); | 153 | MainConsole.Instance.OutputFormat("Asset dumped to file {0}", fileName); |
154 | } | 154 | } |
155 | 155 | ||
156 | void HandleShowDigest(string module, string[] args) | 156 | void HandleShowAsset(string module, string[] args) |
157 | { | 157 | { |
158 | if (args.Length < 3) | 158 | if (args.Length < 3) |
159 | { | 159 | { |