diff options
author | Paul Reimer <paulreimer@users.noreply.github.com> | 2018-05-07 16:07:52 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-05-07 16:07:52 -0700 |
commit | 66214243082a1ba6156da8c3f562595ab175f035 (patch) | |
tree | 357f57792080fa7abb998188ca3a45cfe68e8429 /docs | |
parent | d215852f52760299cc0dec2f564c2eb39d5c5042 (diff) | |
download | flatbuffers-66214243082a1ba6156da8c3f562595ab175f035.tar.gz |
Add --root-type option to flatc [C++, parser, JSON] (#4728)
* Add --root-type option to flatc
To select or override a root_type
* Add help text from flatc --root-type to Compiler.md doc
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/Compiler.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/Compiler.md b/docs/source/Compiler.md index aaa274c3..1c0b50e6 100644 --- a/docs/source/Compiler.md +++ b/docs/source/Compiler.md @@ -128,5 +128,7 @@ Additional options: - `--reflect-types` : Add minimal type reflection to code generation. - `--reflect-names` : Add minimal type/name reflection. +- `--root-type T` : Select or override the default root_type. + NOTE: short-form options for generators are deprecated, use the long form whenever possible. |