mirror of
https://github.com/SabreTools/SabreTools.CommandLine.git
synced 2026-04-17 19:51:10 +00:00
Directly return result of execution
This commit is contained in:
@@ -934,14 +934,7 @@ namespace SabreTools.CommandLine
|
||||
}
|
||||
|
||||
// Now execute the current feature
|
||||
if (!feature.Execute())
|
||||
{
|
||||
Console.Error.WriteLine("An error occurred during processing!");
|
||||
OutputFeatureHelp(topLevel.Name);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return feature.Execute();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user