diff --git a/src/wormhole/scripts/cmd_send_file.py b/src/wormhole/scripts/cmd_send_file.py index 24007db..fb15c68 100644 --- a/src/wormhole/scripts/cmd_send_file.py +++ b/src/wormhole/scripts/cmd_send_file.py @@ -21,7 +21,10 @@ def send_file(args): code = args.code else: code = i.get_code(args.code_length) - print("On the other computer, please run: wormhole receive-file") + other_cmd = "wormhole receive-file" + if args.verify: + other_cmd = "wormhole --verify receive-file" + print("On the other computer, please run: %s" % other_cmd) print("Wormhole code is '%s'" % code) print() diff --git a/src/wormhole/scripts/cmd_send_text.py b/src/wormhole/scripts/cmd_send_text.py index 3617027..b10ce56 100644 --- a/src/wormhole/scripts/cmd_send_text.py +++ b/src/wormhole/scripts/cmd_send_text.py @@ -15,7 +15,10 @@ def send_text(args): code = args.code else: code = i.get_code(args.code_length) - print("On the other computer, please run: wormhole receive-text") + other_cmd = "wormhole receive-text" + if args.verify: + other_cmd = "wormhole --verify receive-text" + print("On the other computer, please run: %s" % other_cmd) print("Wormhole code is: %s" % code) print("")