[
https://issues.apache.org/jira/browse/THRIFT-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-86.
-------------------------------
Resolution: Won't Fix
issue is too old, please reopen or create a new issue and patch if you need
this.
see http://thrift.apache.org/docs/HowToContribute/
> Compiler doesn't recognize some command-line args in #! line
> ------------------------------------------------------------
>
> Key: THRIFT-86
> URL: https://issues.apache.org/jira/browse/THRIFT-86
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Reporter: Stuart Sierra
> Priority: Minor
>
> Running the tutorial (or any .thrift file) as a shell script gives an error
> when the #! (shebang) line contains the --gen option:
> $ ./tutorial.thrift
> !!! Unrecognized option: cpp
> The same options work when typed directly at the command line:
> $ thrift --gen cpp --gen java --gen py --php --gen rb --gen perl --erl --xsd
> -r tutorial.thrift
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira