You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a processor call, if --mets was not given and no mets.xml is present in $PWD, the --help message is given. The reasoning is that if a user calls a processor without any arguments, it makes more sense to provide general help instead of the very specific error message mets.xml could not be found.
However from feedback from @dla-kramski, @ElexaDigitalia_twitter and others, this behavior (in core since 2.12.0 #438OCR-D/spec#156) is confusing because it is also triggered if -I and -O are provided.
So I propose to change the behavior to this:
If no options/arguments at all are provided to a processor, then print the --help
If METS cannot be found, raise an error saying so
The text was updated successfully, but these errors were encountered:
Currently, a processor call, if
--mets
was not given and nomets.xml
is present in $PWD, the--help
message is given. The reasoning is that if a user calls a processor without any arguments, it makes more sense to provide general help instead of the very specific error messagemets.xml could not be found
.However from feedback from @dla-kramski, @ElexaDigitalia_twitter and others, this behavior (in core since 2.12.0 #438 OCR-D/spec#156) is confusing because it is also triggered if
-I
and-O
are provided.So I propose to change the behavior to this:
--help
The text was updated successfully, but these errors were encountered: