feat(arg): add parser description

This commit is contained in:
inference 2025-06-25 21:45:09 +00:00
parent 448c572026
commit 4c6112f0a7
Signed by: inference
SSH Key Fingerprint: SHA256:/O3c09/4f1lh4zrhFs2qvQEDda6dZbTwG9xEcj8OfWo

View File

@ -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: