-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPUB checker option "--version" issue #1533
Comments
This is likely due to the change made in #1526. The Do you need to print the EPUBCheck version number and the check messages at the same time? |
Hi @rdeltour , Yes, I need to print the EPUBCheck version number and the check messages at the same time. |
@rdeltour
will then output:
now outputs this:
This is very misleading. Please reduce the output to the version info only and then exit:
Misleading, because in my workflow, which runs for a decade now, "--version" was always part of the CLI command to test my epubs, so it took me some time to realize that there were errors in the epub I was checking, even though epubcheck says there were none. |
@rdeltour
outputs the trailing check informations either:
This should be fixed! For a workaround until this is fixed:
suppresses the misleading check informations at the end. |
@rdeltour
The EPUB validation has failed while using the option "--version" in the command line argument and getting the default message in the log file if there are any errors or warnings in the source EPUB file. The previous version 5.0.1 correctly indicated the error/warning with version details. Kindly check and assist us to resolve this issue.
EPUBCheck v5.1.0
Messages: 0 fatals / 0 errors / 0 warnings / 0 infos / 0 usages
EPUBCheck completed
Usage
C:\Users\euser>java -jar -Xss1024k "C:\Localfiles\Support\ePUB-Checker\5.1.0\epubcheck.jar" "C:\Localfiles\Support\ePUB-Checker\test.epub" --version > "C:\Localfiles\Support\ePUB-Checker\test.log" 2>&1
test_5.0.1.log
test_5.1.0.log
The text was updated successfully, but these errors were encountered: