mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Add more user feedback if an object isn't found for which delete was requested.
This commit is contained in:
@@ -140,6 +140,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
deletes.Add(g);
|
||||
});
|
||||
|
||||
if (deletes.Count == 0)
|
||||
m_console.OutputFormat("No objects were found with owner {0}", match);
|
||||
|
||||
break;
|
||||
|
||||
case "creator":
|
||||
@@ -152,6 +155,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
deletes.Add(g);
|
||||
});
|
||||
|
||||
if (deletes.Count == 0)
|
||||
m_console.OutputFormat("No objects were found with creator {0}", match);
|
||||
|
||||
break;
|
||||
|
||||
case "uuid":
|
||||
@@ -164,6 +170,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
deletes.Add(g);
|
||||
});
|
||||
|
||||
if (deletes.Count == 0)
|
||||
m_console.OutputFormat("No objects were found with uuid {0}", match);
|
||||
|
||||
break;
|
||||
|
||||
case "name":
|
||||
@@ -173,6 +182,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
deletes.Add(g);
|
||||
});
|
||||
|
||||
if (deletes.Count == 0)
|
||||
m_console.OutputFormat("No objects were found with name {0}", o);
|
||||
|
||||
break;
|
||||
|
||||
case "outside":
|
||||
@@ -198,6 +210,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
deletes.Add(g);
|
||||
});
|
||||
|
||||
if (deletes.Count == 0)
|
||||
m_console.OutputFormat("No objects were found outside region bounds");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user