diff options
author | Khanh Nguyen <44149581+Kn99HN@users.noreply.github.com> | 2023-01-28 11:17:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 13:17:36 -0600 |
commit | a105c26eca2166c0ac9e2026478ec158ffc01d2c (patch) | |
tree | c3554f6671bddd75845cc881e1521f6789a61183 /include | |
parent | 5b7a02d03797ab277e39c4543daeb865eb1c7092 (diff) | |
download | flatbuffers-a105c26eca2166c0ac9e2026478ec158ffc01d2c.tar.gz flatbuffers-a105c26eca2166c0ac9e2026478ec158ffc01d2c.tar.bz2 flatbuffers-a105c26eca2166c0ac9e2026478ec158ffc01d2c.zip |
Refactor usage message (#7803)
* Update usage string formation
* Rework help message to use code generator interface
* update
* refactor
Diffstat (limited to 'include')
-rw-r--r-- | include/flatbuffers/flatc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flatbuffers/flatc.h b/include/flatbuffers/flatc.h index 4fab34ca..b3730521 100644 --- a/include/flatbuffers/flatc.h +++ b/include/flatbuffers/flatc.h @@ -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); |