mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Improve StorageEmpty message
This commit is contained in:
parent
98111e7625
commit
c090aaa0fe
1 changed files with 5 additions and 4 deletions
|
|
@ -77,10 +77,11 @@ def handle_cli_error(status_name=None):
|
|||
cli_logger.critical(e.format_cli())
|
||||
except StorageEmpty as e:
|
||||
cli_logger.error(
|
||||
'{status_name}: Storage "{name}" was completely emptied. Use '
|
||||
'`vdirsyncer sync --force-delete {status_name}` to synchronize '
|
||||
'that emptyness to the other side, or delete the status by '
|
||||
'yourself to restore the items from the non-empty side.'.format(
|
||||
'{status_name}: Storage "{name}" was completely emptied. If you '
|
||||
'want to delete ALL entries on BOTH sides, then use '
|
||||
'`vdirsyncer sync --force-delete {status_name}`. '
|
||||
'Otherwise delete the files for {status_name} in your status '
|
||||
'directory.'.format(
|
||||
name=e.empty_storage.instance_name,
|
||||
status_name=status_name
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue