Rename args.output to args.dir

This commit is contained in:
George Lacey 2021-05-05 06:22:50 +01:00
parent 6a65764ac4
commit cf1635cd7a

View File

@ -8,8 +8,8 @@ from borgmanager.summary import Summary
def main(args, path: Path): def main(args, path: Path):
if args.output is not None: if args.dir is not None:
output_path = Path(args.output) output_path = Path(args.dir)
if not output_path.exists(): if not output_path.exists():
output_path.mkdir() output_path.mkdir()
path = output_path path = output_path