You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/01/30 20:10:00 UTC
[jira] [Resolved] (AVRO-3330) Avrogen avsc compiler should return 0 exit code if help requested
[ https://issues.apache.org/jira/browse/AVRO-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3330.
---------------------------------------------
Fix Version/s: 1.12.0
Assignee: Zoltan Csizmadia
Resolution: Fixed
> 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
> Assignee: Zoltan Csizmadia
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.1, 1.12.0
>
> Original Estimate: 1h
> Time Spent: 1.5h
> 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)