poprawki typo

This commit is contained in:
Mateusz Gruszczyński
2025-05-19 10:49:31 +02:00
parent d6963cb26e
commit e0ff7357c4

11
app.py
View File

@ -318,12 +318,6 @@ def main():
print(str(e)) print(str(e))
sys.exit(1) sys.exit(1)
parser = argparse.ArgumentParser(
description="Drupal 6 user cleanup tool",
epilog=epilog,
formatter_class=argparse.RawDescriptionHelpFormatter
)
epilog = textwrap.dedent(f""" epilog = textwrap.dedent(f"""
Przykłady użycia: Przykłady użycia:
@ -369,6 +363,11 @@ def main():
formatter_class=argparse.RawDescriptionHelpFormatter formatter_class=argparse.RawDescriptionHelpFormatter
) )
parser = argparse.ArgumentParser(
description="Drupal 6 user cleanup tool",
epilog=epilog,
formatter_class=argparse.RawDescriptionHelpFormatter
)
parser.add_argument('--host', help='Adres hosta bazy danych (można ustawić w .env jako DB_HOST)') parser.add_argument('--host', help='Adres hosta bazy danych (można ustawić w .env jako DB_HOST)')
parser.add_argument('--user', help='Użytkownik bazy danych (lub DB_USER z .env)') parser.add_argument('--user', help='Użytkownik bazy danych (lub DB_USER z .env)')