Zoltan Csizmadia created AVRO-3330:
--------------------------------------

             Summary: Avrogen cavsc compiler should return 0 as 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
             Fix For: 1.11.1


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)

Reply via email to