mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 07:27:27 +00:00
Refactor usage message (#7803)
* Update usage string formation * Rework help message to use code generator interface * update * refactor
This commit is contained in:
@@ -114,7 +114,7 @@ class FlatCompiler {
|
||||
|
||||
explicit FlatCompiler(const InitParams ¶ms) : params_(params) {}
|
||||
|
||||
bool RegisterCodeGenerator(const std::string& flag,
|
||||
bool RegisterCodeGenerator(const FlatCOption &option,
|
||||
std::shared_ptr<CodeGenerator> code_generator);
|
||||
|
||||
int Compile(const FlatCOptions &options);
|
||||
|
||||
Reference in New Issue
Block a user