From 412efd66a04dd12eea85944c73dcdb05fe0e20d5 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Thu, 1 Jan 2026 15:06:21 +0800 Subject: [PATCH] Add `--tg` as an alias to `--telegram` --- Whatsapp_Chat_Exporter/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/__main__.py b/Whatsapp_Chat_Exporter/__main__.py index 0543715..b844921 100644 --- a/Whatsapp_Chat_Exporter/__main__.py +++ b/Whatsapp_Chat_Exporter/__main__.py @@ -146,7 +146,7 @@ def setup_argument_parser() -> ArgumentParser: help="Pretty print the output JSON." ) json_group.add_argument( - "--telegram", dest="telegram", default=False, action='store_true', + "--tg", "--telegram", dest="telegram", default=False, action='store_true', help="Output the JSON in a format compatible with Telegram export (implies json-per-chat)" ) json_group.add_argument(