diff simtool/dispatch.c @ 110:2aa92dfcb4b5

fc-simtool iccid, imsi, spn: support output redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 06:59:56 +0000
parents 8a27f45bc1e6
children 869488ef86b6
line wrap: on
line diff
--- a/simtool/dispatch.c	Fri Feb 19 06:53:14 2021 +0000
+++ b/simtool/dispatch.c	Fri Feb 19 06:59:56 2021 +0000
@@ -126,8 +126,8 @@
 	{"grcard2-set-puk2", 1, 1, 0, cmd_grcard2_set_puk},
 	{"grcard2-set-super", 1, 1, 0, cmd_grcard2_set_super},
 	{"grcard2-set-super-hex", 1, 1, 0, cmd_grcard2_set_super_hex},
-	{"iccid", 0, 0, 0, cmd_iccid},
-	{"imsi", 0, 0, 0, cmd_imsi},
+	{"iccid", 0, 0, 1, cmd_iccid},
+	{"imsi", 0, 0, 1, cmd_imsi},
 	{"lnd-dump", 0, 1, 0, cmd_lnd_dump},
 	{"lnd-erase", 0, 0, 0, cmd_lnd_erase},
 	{"lnd-restore", 1, 1, 0, cmd_lnd_restore},
@@ -166,7 +166,7 @@
 	{"smsp-restore", 1, 1, 0, cmd_smsp_restore},
 	{"smsp-set", 2, 6, 0, cmd_smsp_set},
 	{"smsp-set-tag", 3, 7, 0, cmd_smsp_set_tag},
-	{"spn", 0, 0, 0, cmd_spn},
+	{"spn", 0, 0, 1, cmd_spn},
 	{"sst", 0, 0, 0, cmd_sst},
 	{"telecom-sum", 0, 0, 0, cmd_telecom_sum},
 	{"uicc-dir", 0, 0, 1, cmd_uicc_dir},