From 4c6112f0a7da7fbbd9d93fa1ee0db0c08f083d97 Mon Sep 17 00:00:00 2001 From: inference Date: Wed, 25 Jun 2025 21:45:09 +0000 Subject: [PATCH] feat(arg): add parser description --- duplicate_check.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/duplicate_check.py b/duplicate_check.py index 67e9aa0..ab314d1 100644 --- a/duplicate_check.py +++ b/duplicate_check.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Duplicate Check -# Version: 0.10.0 +# Version: 0.11.0 # Copyright 2025 Jake Winters # SPDX-License-Identifier: BSD-3-Clause @@ -12,6 +12,9 @@ import hashlib import argparse +parser = argparse.ArgumentParser(description='Scan directory for duplicate files and delete them.') + + def hash_file(file_path): sha256_hash = hashlib.sha256() with open(file_path, 'rb') as f: