You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2016/02/09 21:46:18 UTC
[jira] [Commented] (THRIFT-3605) Have the compiler complain about
invalid arguments and options
[ https://issues.apache.org/jira/browse/THRIFT-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139721#comment-15139721 ]
Roger Meier commented on THRIFT-3605:
-------------------------------------
using a real option parser as suggested in THRIFT-3013 should solve this
> 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)