zcsizmadia commented on a change in pull request #1481:
URL: https://github.com/apache/avro/pull/1481#discussion_r794752294
##########
File path: lang/csharp/src/apache/codegen/AvroGen.cs
##########
@@ -29,7 +29,8 @@ static int Main(string[] args)
if (args.Length == 0 || args[0] == "-h" || args[0] == "--help")
{
Usage();
- return 1;
+ // Return success if help requested
+ return args.Length == 0 ? 1 : 0;
Review comment:
I am not sure I agree with that statement: double the code for a very
simple condition. However I modded the PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]