Make --dry-run output 'Would archive'
This commit is contained in:
parent
b874a94223
commit
65cfabb53b
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue