From 448ba892cc1b650356fd4881f319dd665ea5d8ad Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:33:56 +0800 Subject: [PATCH] Change the option from --smb to --business --- Whatsapp_Chat_Exporter/__main__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Whatsapp_Chat_Exporter/__main__.py b/Whatsapp_Chat_Exporter/__main__.py index 66deabe..45f708a 100644 --- a/Whatsapp_Chat_Exporter/__main__.py +++ b/Whatsapp_Chat_Exporter/__main__.py @@ -178,11 +178,11 @@ def main(): help="Import JSON file and convert to HTML output" ) parser.add_argument( - "--smb", - dest="smb", + "--business", + dest="business", default=False, action='store_true', - help="Use Whatsapp Business default files (iphone only)" + help="Use Whatsapp Business default files (iOS only)" ) args = parser.parse_args() @@ -206,6 +206,9 @@ def main(): elif args.import_json and not os.path.isfile(args.json): print("JSON file not found.") exit(1) + if args.android and args.business: + print("WhatsApp Business is only available on iOS for now.") + exit(1) data = {}