migrations: strongly indicate dry runs

This commit is contained in:
Martin Weinelt
2025-11-26 20:21:56 +01:00
parent a38e14460f
commit 0696fcbe9b
@@ -113,6 +113,10 @@ def main(vmail_root: Path, layout: FolderLayout, dry_run: bool = True):
for path in maybe_delete:
print(f"# rm {str(path)}")
if dry_run:
print("\nNo changes were made.")
print("Run the script with `--execute` to apply the listed changes.")
if __name__ == "__main__":
parser = argparse.ArgumentParser(