convenience - no need to specify -x if --socket/-c already specified

This commit is contained in:
scgbckbone 2025-06-06 11:18:12 +02:00 committed by doc-hex
parent 695e0f1eb6
commit c14b6b2807

View File

@ -83,7 +83,7 @@ def main(serial, simulator, plaintext, socket):
force_serial = serial
force_plaintext = plaintext
if simulator:
if simulator or socket:
force_serial = socket or DEFAULT_SIM_SOCKET
def display_errors(f):