[
https://issues.apache.org/jira/browse/AVRO-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Csizmadia updated AVRO-3330:
-----------------------------------
Summary: Avrogen avsc compiler should return 0 exit code if help requested
(was: Avrogen cavsc compiler should return 0 as exit code if help requested)
> 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
> Fix For: 1.11.1
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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)