[postprocessor:compare] extend 'action' option (#1592)
allow setting it to "abort", "terminate", or "exit" as with 'skip'
This commit is contained in:
@@ -2691,6 +2691,17 @@ Description
|
||||
The action to take when files do not compare as equal.
|
||||
|
||||
* ``"replace"``: Replace/Overwrite the old version with the new one
|
||||
|
||||
* ``"abort:N"``: Same as ``"replace"`` and stop the current extractor run
|
||||
after ``N`` consecutive files compared as equal.
|
||||
|
||||
* ``"terminate:N"``: Same as ``"replace"``
|
||||
and stop the current extractor run, including parent extractors,
|
||||
after ``N`` consecutive files compared as equal.
|
||||
|
||||
* ``"exit:N"``: Same as ``"replace"`` and exit the program
|
||||
after ``N`` consecutive files compared as equal.
|
||||
|
||||
* ``"enumerate"``: Add an enumeration index to the filename of the new
|
||||
version like `skip = "enumerate" <extractor.*.skip_>`__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user