[
https://issues.apache.org/jira/browse/AVRO-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484432#comment-17484432
]
ASF subversion and git services commented on AVRO-3330:
-------------------------------------------------------
Commit 888ab68cb5b15098972ef99558dee903fe7b1e7b in avro's branch
refs/heads/master from Zoltan Csizmadia
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=888ab68 ]
AVRO-3330: Avrogen returns success if help requested (#1481)
* AVRO-3330: Avrogen returns success if help requested
* AVRO-3330: Seperate help conditions
Co-authored-by: Zoltan Csizmadia <[email protected]>
> Avrogen avsc compiler should return 0 exit code if help requested
> -----------------------------------------------------------------
>
> Key: AVRO-3330
> URL: https://issues.apache.org/jira/browse/AVRO-3330
> Project: Apache Avro
> Issue Type: Improvement
> Components: c++, csharp
> Reporter: Zoltan Csizmadia
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.1
>
> Original Estimate: 1h
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> It is a standard behaviour that if a help requested from a tool by (-h,
> –help), the return code is 0. If ana rgument is needed, but the tool was
> executed without arguments, the return code is non zero (1).
> E.g. this feature can be used to check if the tool is available, by running
> requesting its help. Without using OS specific "which" (Linux) or "where"
> (Windows).
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)