mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Improve repair-command's help
This commit is contained in:
parent
dd49b7e6fe
commit
b2d0d9ce2e
1 changed files with 5 additions and 5 deletions
|
|
@ -135,13 +135,13 @@ def discover(ctx, pairs, max_workers):
|
|||
@catch_errors
|
||||
def repair(ctx, collection):
|
||||
'''
|
||||
Repair a given collection: `storage/collection/storage`
|
||||
Repair a given collection.
|
||||
|
||||
`vdirsyncer repair calendars_local/foo` repairs the `foo` collection of the
|
||||
`calendars_local` storage.
|
||||
Downloads all items and repairs some properties if necessary. Currently
|
||||
this only fixes absent or duplicate UIDs.
|
||||
|
||||
It will download all items and repair their properties if necessary.
|
||||
Currently this only fixes absent or duplicate UIDs.
|
||||
Example: `vdirsyncer repair calendars_local/foo` repairs the `foo`
|
||||
collection of the `calendars_local` storage.
|
||||
'''
|
||||
general, all_pairs, all_storages = ctx.obj['config']
|
||||
repair_collection(general, all_pairs, all_storages, collection)
|
||||
|
|
|
|||
Loading…
Reference in a new issue