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