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);
|
deletes.Add(g);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (deletes.Count == 0)
|
||||||
|
m_console.OutputFormat("No objects were found with owner {0}", match);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "creator":
|
case "creator":
|
||||||
|
@ -152,6 +155,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
deletes.Add(g);
|
deletes.Add(g);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (deletes.Count == 0)
|
||||||
|
m_console.OutputFormat("No objects were found with creator {0}", match);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "uuid":
|
case "uuid":
|
||||||
|
@ -164,6 +170,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
deletes.Add(g);
|
deletes.Add(g);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (deletes.Count == 0)
|
||||||
|
m_console.OutputFormat("No objects were found with uuid {0}", match);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "name":
|
case "name":
|
||||||
|
@ -173,6 +182,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
deletes.Add(g);
|
deletes.Add(g);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (deletes.Count == 0)
|
||||||
|
m_console.OutputFormat("No objects were found with name {0}", o);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "outside":
|
case "outside":
|
||||||
|
@ -198,6 +210,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
deletes.Add(g);
|
deletes.Add(g);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (deletes.Count == 0)
|
||||||
|
m_console.OutputFormat("No objects were found outside region bounds");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue