[
https://issues.apache.org/jira/browse/AVRO-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793844#action_12793844
]
Philip Zeyliger commented on AVRO-263:
--------------------------------------
Looks good.
Why did you choose to return -1 sometimes, but 1 sometimes? I'd rather see > 0
for errors consistently, and 0 for success.
> avroj tools should return exit codes
> ------------------------------------
>
> Key: AVRO-263
> URL: https://issues.apache.org/jira/browse/AVRO-263
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.2.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Minor
> Attachments: avro-263.txt
>
>
> avroj should exit with a non-zero exit code for error conditions. The JVM
> already does this for exceptions, but same should be true of usage messages,
> etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.