REST API documentation page references commandline option that does not exist anymore on the commandline options page
What happened?
The page is - https://docs.syncthing.net/rest/system-reset-post.html
The text is Caution: See --reset-database for .stfolder creation side-effect and caution regarding mountpoints.
--reset-database is not referenced here - https://docs.syncthing.net/users/syncthing.html
But it was in the 1.x pages - https://docs.syncthing.net/v1.30.0/users/syncthing.html#cmdoption-reset-database
Syncthing version
v2.0.10
Platform & operating system
Linux (64-bit Intel/AMD Container)
Browser version
No response
Relevant log output
This is really a bit more involved. Looking at the history, I think #901 removed too much. The syncthing [serve] --reset-database command is now syncthing cli debug reset-database. And syncthing [serve] --reset-deltas was renamed to syncthing [serve] --debug-reset-delta-idxs.
Given the link here points to the option docs for the explanation about .stfolder recreation and being cautious with that, it's not simply fixed by pointing to a different option. The whole paragraph (although helpful) was simply removed.
I think the content should be added back in an appropriate location, e.g. under the syncthing cli commands description. And of course, the now dangling links for renamed / removed options must be fixed. @calmh (as author of #901 and https://github.com/syncthing/syncthing/pull/10007), would you mind reintegrating / updating the relevant sections?