Support --root-type when compiling from proto
Open
- Dominant language
- C++
- Stars
- 26.5k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
`--root-type` should generate `root_type Something;` line when used in `--proto` mode
## Expected
```bash
flatc --proto --root-type Something some.proto
```
should build some.fbs that contains line `root_type Something;`
## Actual
--root-type has not effect at all
## Workaround
```bash
flatc --proto some.proto
echo "root_type Something;" >> some.fbs
```
Contributor guide
Assessment
This issue has not been assessed yet.