diff --git a/duplicate_check.py b/duplicate_check.py index ab314d1..280e5eb 100644 --- a/duplicate_check.py +++ b/duplicate_check.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Duplicate Check -# Version: 0.11.0 +# Version: 0.12.0 # Copyright 2025 Jake Winters # SPDX-License-Identifier: BSD-3-Clause @@ -13,6 +13,7 @@ import argparse parser = argparse.ArgumentParser(description='Scan directory for duplicate files and delete them.') +parser.add_argument('--dry-run', '-d', action='store_true', help='Detect duplicates without deletion.') def hash_file(file_path):