[
https://issues.apache.org/jira/browse/THRIFT-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146287#comment-15146287
]
ASF GitHub Bot commented on THRIFT-3605:
----------------------------------------
GitHub user Jens-G opened a pull request:
https://github.com/apache/thrift/pull/862
THRIFT-3605 Have the compiler complain about invalid arguments and op…
…tions
Client: Compiler (general)
Patch: Jens Geyer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Jens-G/thrift THRIFT-3605
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/862.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #862
----
commit f00354550ced066f9358521ff299b4fc07bc0353
Author: Jens Geyer <[email protected]>
Date: 2016-02-13T22:48:20Z
THRIFT-3605 Have the compiler complain about invalid arguments and options
Client: Compiler (general)
Patch: Jens Geyer
----
> 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)