From 644c2e6612eacc2c070e56ee6c6a05f961f6ed74 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 9 Jul 2017 11:49:51 -0700 Subject: [PATCH] Adding TODO about a helpful notice about legacy config. --- borgmatic/commands/borgmatic.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index c817976..4c2e9ba 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -41,6 +41,9 @@ def parse_arguments(*arguments): def main(): try: + # TODO: Detect whether only legacy config is present. If so, inform the user about how to + # upgrade, then exet. + args = parse_arguments(*sys.argv[1:]) config = parse_configuration(args.config_filename, schema_filename()) repository = config.location['repository']