Skip to content

Conversation

@sbesson
Copy link
Member

@sbesson sbesson commented Sep 1, 2025

Fixes #286

See https://picocli.info/#_exit_code, this should allow the application to return a meaningful exit code on success or failure

Without this PR

bioformats2raw test.fake test.zarr --invalid-parameters
echo $?

should display the usage but return a 0 exit code. With this PR included, the same command should return a 2 exit code indicating failure.

See https://picocli.info/#_exit_code, this should allow the application
to return a meaningful exit code on success or failure
@melissalinkert melissalinkert merged commit f6067e3 into glencoesoftware:master Sep 3, 2025
4 checks passed
@sbesson sbesson deleted the exit_code branch September 3, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exit code is zero when there are problems with parameters

2 participants