dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/42747?usp=email )


Change subject: pySim/ara_m, cosmetic: swap --nfc-always and --nfc-never options
......................................................................

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
---
M pySim/ara_m.py
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/47/42747/1

diff --git a/pySim/ara_m.py b/pySim/ara_m.py
index e1c26f6..6fc0e20 100644
--- a/pySim/ara_m.py
+++ b/pySim/ara_m.py
@@ -334,10 +334,10 @@
         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)')


--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42747?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I7289c3628b1b8dd3eec2f1c8f2132e3015422960
Gerrit-Change-Number: 42747
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to