[
https://issues.apache.org/jira/browse/THRIFT-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-3605:
-------------------------------
Description:
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}
was:
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 -whoa -gen csharp
Unrecognized option: -whoa
Usage: thrift [options] file
Use thrift -help for a list of options
{code}
> 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)