[
https://issues.apache.org/jira/browse/THRIFT-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146292#comment-15146292
]
Jens Geyer commented on THRIFT-3605:
------------------------------------
A few comments:
- A few generators did not document all switches, some did not dcoument any
switches at all. I fixed what I found.
- The Python generator stood out form the crowd by being the least maintainable
one. I tried hard to no break anything and to mimic the existing behaviour to
the best of my knowledge, but it was a hard task. If, despite of my efforts, I
still managed to overlooked some obscure edge case combination, please bear
with me.
> Have the compiler complain about invalid arguments and options
> --------------------------------------------------------------
>
> Key: THRIFT-3605
> URL: https://issues.apache.org/jira/browse/THRIFT-3605
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (General)
> Reporter: Jens Geyer
> Assignee: Jens Geyer
>
> As kind of a follow-up to THRIFT-3603, the goal is to have the compiler
> validate not only the arguments , but also any argument options passed to it.
> If an unknown option is found, a short error message should be printed
> similar to what we already have with invalid args:
> {code}
> $ thrift -gen csharp:whoa
> Unrecognized option: whoa
> Usage: thrift [options] file
> Use thrift -help for a list of options
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)