From a105c26eca2166c0ac9e2026478ec158ffc01d2c Mon Sep 17 00:00:00 2001 From: Khanh Nguyen <44149581+Kn99HN@users.noreply.github.com> Date: Sat, 28 Jan 2023 11:17:36 -0800 Subject: Refactor usage message (#7803) * Update usage string formation * Rework help message to use code generator interface * update * refactor --- include/flatbuffers/flatc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 code_generator); int Compile(const FlatCOptions &options); -- cgit v1.2.3