mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make top-level features return bool
This commit is contained in:
@@ -31,9 +31,11 @@ structure. It also deletes the specified DATs from the DAT index.";
|
||||
AddFeature(LogOnlyFlag);
|
||||
}
|
||||
|
||||
public override void ProcessFeatures(Dictionary<string, Feature> features)
|
||||
public override bool ProcessFeatures(Dictionary<string, Feature> features)
|
||||
{
|
||||
base.ProcessFeatures(features);
|
||||
// If the base fails, just fail out
|
||||
if (!base.ProcessFeatures(features))
|
||||
return false;
|
||||
|
||||
// Get feature flags
|
||||
bool logOnly = GetBoolean(features, LogOnlyValue);
|
||||
@@ -42,6 +44,7 @@ structure. It also deletes the specified DATs from the DAT index.";
|
||||
List<string> depot = GetList(features, DepotListStringValue);
|
||||
|
||||
logger.Error("This feature is not yet implemented: purge-delete");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user