Commit eacd374
authored
chore: clarify database resetting options (#1013)
The `--reset-deltas` and `--reset-database` options were removed in
Syncthing v2. Fix leftover references and in the process, document the
current `syncthing debug ...` subcommand group, where `reset-database`
now lives.
* Stop referring to removed --reset-deltas option.
* Describe debug subcommand similar to the cli hierarchy.
Clarify that "cli debug" commands do not require Syncthing to be
stopped, while in fact removing the database completely should not be
done while it is running. Point to the corresponding API endpoint
/rest/system/reset for more granular DB reset functionality.
* Add a label for the reset-database subcommand.
Currently not used as a target anywhere, but might prove useful for a
future FAQ.
Add the includes top-level directory to the exclusion list for Sphinx.
Documents in there are always used via an include:: directive, so
processing them as (unreachable) standalone documents leads to
duplicate label warnings.
* Fix obsolete reference to --reset-database option.
The cautionary note was removed in v2 together with the whole option.
Resurrect the text from the old option doc.
Signed-off-by: André Colomb <src@andre.colomb.de>1 parent a59b729 commit eacd374
6 files changed
Lines changed: 34 additions & 10 deletions
File tree
- includes
- rest
- users
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
1345 | 1344 | | |
1346 | 1345 | | |
1347 | 1346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
326 | 334 | | |
327 | 335 | | |
328 | 336 | | |
| |||
0 commit comments