From f9e4291a4320a1185f9b19d2e20ad6953d41f049 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 12 May 2026 16:40:33 +0200 Subject: [PATCH] pySim/ara_m, cosmetic: swap --nfc-always and --nfc-never options The commandline options --nfc-always and --nfc-never appear in the opposite order when compared to --apdu-never and --apdu-always. Let's swap the options to make the helpscreen and the code more consistent. Change-Id: I7289c3628b1b8dd3eec2f1c8f2132e3015422960 Related: SYS#6959 --- pySim/ara_m.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pySim/ara_m.py b/pySim/ara_m.py index e1c26f6c..6fc0e20f 100644 --- a/pySim/ara_m.py +++ b/pySim/ara_m.py @@ -334,10 +334,10 @@ class ADF_ARAM(CardADF): apdu_grp.add_argument( '--apdu-filter', help='APDU filter: multiple groups of 8 hex bytes (4 byte CLA/INS/P1/P2 followed by 4 byte mask)') nfc_grp = store_ref_ar_do_parse.add_mutually_exclusive_group() - nfc_grp.add_argument('--nfc-always', action='store_true', - help='NFC event access is allowed') nfc_grp.add_argument('--nfc-never', action='store_true', help='NFC event access is not allowed') + nfc_grp.add_argument('--nfc-always', action='store_true', + help='NFC event access is allowed') store_ref_ar_do_parse.add_argument( '--android-permissions', help='Android UICC Carrier Privilege Permissions (8 hex bytes)')