zhboner/realm

Is it possible to add a command-line function to check whether the syntax and parameters of the configuration file are correct.

Closed this issue · 3 comments

omaidb commented

I use toml or json configuration files.
Is it possible to add a command-line tool to check whether the syntax and parameters of the configuration file are correct.
Because I just noticed that FTO and network.zero_copy are deprecated; I just realized I was using an unsupported parameter in the toml.

Any unknown field in the config file will be ignored, only useful ones(listed in the doc) are left. So you dont need to worry about this..

I'm planning to add some warnings where the user's input may lead to unexpected results.

omaidb commented

I'm planning to add some warnings where the user's input may lead to unexpected results.

good idea