Skip to content

Incorrect Exit Code and Error Message When Using "--version" Argument in EPUBCheck #1520

@gregoriopellegrino

Description

@gregoriopellegrino

When executing EPUBCheck with the --version argument to retrieve the version information, the tool correctly displays the version, but the exit code returned is 1 (non-zero), along with the error message "No file specified in the arguments. Exiting." In my opinion this behavior is misleading and does not reflect the actual status of the command.

Metadata

Metadata

Assignees

Labels

status: has PRThe issue is being processed in a pull requesttype: bugThe issue describes a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions