Add --tg as an alias to --telegram

This commit is contained in:
KnugiHK
2026-01-01 15:06:21 +08:00
parent 0ac1612c6c
commit 412efd66a0

View File

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