diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index 5e5cba6..3a52779 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -99,8 +99,6 @@ def parse_subparser_arguments(unparsed_arguments, subparsers): # allows subparsers to consume arguments before their parent subparsers do. remaining_subparser_arguments = [] - # Now ask each subparser, one by one, to greedily consume arguments, from last to first. This - # allows subparsers to consume arguments before their parent subparsers do. for subparser_name, subparser in reversed(subparsers.items()): if subparser_name not in arguments.keys(): continue diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index 3fd73c4..766073c 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -643,7 +643,7 @@ def collect_configuration_run_summary_logs(configs, arguments): OSError, json.JSONDecodeError, KeyError, - ) as error: # pragma: no cover + ) as error: yield from log_error_records('Error running bootstrap', error) return