diff --git a/app.py b/app.py index 714e7e2..2c05337 100644 --- a/app.py +++ b/app.py @@ -23,6 +23,8 @@ from email.mime.text import MIMEText import time import requests import string +import textwrap + os.makedirs("logs", exist_ok=True) os.makedirs("exports", exist_ok=True) @@ -318,7 +320,11 @@ def main(): parser = argparse.ArgumentParser( description="Drupal 6 user cleanup tool", - epilog=f""" + epilog=epilog, + formatter_class=argparse.RawDescriptionHelpFormatter + ) + + epilog = textwrap.dedent(f""" Przykłady użycia: # 1. Podgląd nieaktywnych użytkowników bez punktów