You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/30 20:09:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17484433#comment-17484433 ] 

ASF subversion and git services commented on AVRO-3330:
-------------------------------------------------------

Commit 20ecac350a6e77b21c5447528cf747146adfea24 in avro's branch refs/heads/branch-1.11 from Zoltan Csizmadia
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=20ecac3 ]

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 <Cs...@valassis.com>
(cherry picked from commit 888ab68cb5b15098972ef99558dee903fe7b1e7b)


> 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)