From b2d0d9ce2ec3b9d571b89dc6af456bc9bf0d5127 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 1 Mar 2015 18:35:09 +0100 Subject: [PATCH] Improve repair-command's help --- vdirsyncer/cli/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vdirsyncer/cli/__init__.py b/vdirsyncer/cli/__init__.py index 3b5e12a..9047012 100644 --- a/vdirsyncer/cli/__init__.py +++ b/vdirsyncer/cli/__init__.py @@ -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)