You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/02/14 11:12:18 UTC

[jira] [Resolved] (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:all-tabpanel ]

Jens Geyer resolved THRIFT-3605.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0

Committed.

> 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
>             Fix For: 1.0
>
>
> 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)