fixed usage help and added -h to command

This commit is contained in:
tobias
2026-02-06 16:17:30 +01:00
parent a8381c1fa5
commit acecd18173
2 changed files with 21 additions and 9 deletions

View File

@@ -19,12 +19,13 @@ Removes personalized SANS “Licensed To …” watermarks (names, emails, hashe
```
3. **Run the sanitizer (auto-creates `<input>_clean.pdf`):**
4.
```bash
# Recommended latest script:
python enhanced_sanitize_pdf.py INPUT_unlocked.pdf
python pdf_sanatizer.py INPUT_unlocked.pdf
```
Use `python pdf_sanatizer.py -h` for CLI help and options.
## Notes
* The tool targets common SANS watermark patterns:
@@ -32,4 +33,3 @@ Removes personalized SANS “Licensed To …” watermarks (names, emails, hashe
* Rotated diagonal overlay using 25-pt fonts,
* Footer lines at 10/18-pt.
* If your course PDFs use different fonts/sizes, adjust the regex patterns inside the script.