Rename args.output to args.dir
This commit is contained in:
parent
6a65764ac4
commit
cf1635cd7a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user