Remove --iphone

This commit is contained in:
KnugiHK
2025-02-09 16:26:08 +08:00
parent 05505eb3ba
commit c8b71213ae
2 changed files with 1 additions and 8 deletions

View File

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

View File

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