Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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:
$ thrift -gen csharp:whoa
Unrecognized option: whoa
Usage: thrift [options] file
Use thrift -help for a list of options
Attachments
Issue Links
- is broken by
-
THRIFT-2263 Always generate good hashCode for Java
- Closed
- Is contained by
-
THRIFT-3013 make thrift compiler accept a list of input files
- Reopened
- relates to
-
THRIFT-3603 Thrift doesn't generate the gen-nodejs folder but the gen-js one with thrift --gen js:nodejs interface.thrift
- Closed