Make --dry-run output 'Would archive'

This commit is contained in:
XANTRONIX Industrial 2025-02-11 22:30:35 -05:00
parent b874a94223
commit 65cfabb53b

View file

@ -35,6 +35,9 @@ for report in StormReport.each_from_csv_file(getattr(args, 'csv-report-details')
print(f"Key {key} already archived")
else:
if not args.quiet:
if args.dry_run:
print(f"Would archive {key}")
else:
print(f"Archiving {key}")
if not args.dry_run: