Disable --list for discover

This commit is contained in:
Markus Unterwaditzer 2017-01-27 19:51:43 +01:00
parent dd465eb909
commit 185abe9ca9
2 changed files with 5 additions and 3 deletions

View file

@ -14,6 +14,8 @@ Version 0.15
- Deprecated syntax for configuration values is now completely rejected. All
values now have to be valid JSON.
- The default of ``--list`` for ``vdirsyncer discover`` has changed to
``false``. See :ghpr:`543`.
Version 0.14.1
==============

View file

@ -172,11 +172,11 @@ def metasync(ctx, collections, max_workers):
@app.command()
@click.argument('pairs', nargs=-1)
@click.option(
'--list/--no-list', default=True,
'--list/--no-list', default=False,
help=(
'Whether to list all collections from both sides during discovery, '
'for debugging. This is slow, but enabled by default for usability '
'reasons. '
'for debugging. This is slow and may crash for broken servers, so it '
'is disabled by default.'
)
)
@max_workers_option(default=1)