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.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-01-05 21:11:32 +00:00
parent f06acc0a85
commit da0fc3c8f5
2 changed files with 56 additions and 5 deletions

View File

@@ -73,10 +73,10 @@ namespace OpenSim.Server.Handlers.Asset
server.AddStreamHandler(new AssetServerDeleteHandler(m_AssetService, allowDelete));
MainConsole.Instance.Commands.AddCommand("kfs", false,
"show digest",
"show digest <ID>",
"Show asset digest",
HandleShowDigest);
"show asset",
"show asset <ID>",
"Show asset information",
HandleShowAsset);
MainConsole.Instance.Commands.AddCommand("kfs", false,
"delete asset",
@@ -153,7 +153,7 @@ namespace OpenSim.Server.Handlers.Asset
MainConsole.Instance.OutputFormat("Asset dumped to file {0}", fileName);
}
void HandleShowDigest(string module, string[] args)
void HandleShowAsset(string module, string[] args)
{
if (args.Length < 3)
{