From c8b71213ae6dac5b306638d2e7cc3ef61537b5ed Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sun, 9 Feb 2025 16:26:08 +0800 Subject: [PATCH] Remove --iphone --- README.md | 2 +- Whatsapp_Chat_Exporter/__main__.py | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 45b56a9..fb39ad2 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ conversations in HTML and JSON. Android Backup Crypt12, Crypt14 and Crypt15 supp options: -h, --help show this help message and exit -a, --android Define the target as Android - -i, --ios, --iphone Define the target as iPhone/iPad + -i, --ios, Define the target as iPhone/iPad -e EXPORTED, --exported EXPORTED Define the target as exported chat file and specify the path to the file -w WA, --wa WA Path to contact database (default: wa.db/ContactsV2.sqlite) diff --git a/Whatsapp_Chat_Exporter/__main__.py b/Whatsapp_Chat_Exporter/__main__.py index ac1d3dc..d8d9b2a 100644 --- a/Whatsapp_Chat_Exporter/__main__.py +++ b/Whatsapp_Chat_Exporter/__main__.py @@ -43,7 +43,6 @@ def main(): parser.add_argument( '-i', '--ios', - '--iphone', dest='ios', default=False, action='store_true', @@ -475,12 +474,6 @@ def main(): db.row_factory = sqlite3.Row contacts(db, data) elif args.ios: - import sys - if "--iphone" in sys.argv: - print( - "WARNING: The --iphone flag is deprecated and will" - "be removed in the future. Use --ios instead." - ) contacts = ios_handler.contacts messages = ios_handler.messages media = ios_handler.media