How to Find Config File Version

Is there a way to find the highest config file version supported by the currently-installed version of syncthing? I know I can find it just by running with the --generate option, but is there a more straightforward way to obtain it on the command line? Failing that, is there a place in the source code where I can find it?

Why though?

Thank you, that works. I am generating a minimal config.xml using an ansible template, so the config-file version I set won’t change that often. I’d just like to note in the ansible config how to find the latest version.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.