Add more user feedback if an object isn't found for which delete was requested.
parent
eb49c356e2
commit
79c2081741
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue