changeset 59:c56e63a8725d

fc-simtool sst-dump command shortened to just sst
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Feb 2021 01:43:56 +0000
parents 1861d9fb7751
children 090704d1ddc1
files simtool/dispatch.c simtool/sstdump.c
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/simtool/dispatch.c	Sat Feb 13 21:40:38 2021 +0000
+++ b/simtool/dispatch.c	Sun Feb 14 01:43:56 2021 +0000
@@ -53,7 +53,7 @@
 extern int cmd_smsp_set();
 extern int cmd_smsp_set_tag();
 extern int cmd_spn();
-extern int cmd_sst_dump();
+extern int cmd_sst();
 extern int cmd_telecom_sum();
 extern int cmd_uicc_dir();
 extern int cmd_unblock_chv();
@@ -132,7 +132,7 @@
 	{"smsp-set", 2, 6, cmd_smsp_set},
 	{"smsp-set-tag", 3, 7, cmd_smsp_set_tag},
 	{"spn", 0, 0, cmd_spn},
-	{"sst-dump", 0, 0, cmd_sst_dump},
+	{"sst", 0, 0, cmd_sst},
 	{"telecom-sum", 0, 0, cmd_telecom_sum},
 	{"uicc-dir", 0, 0, cmd_uicc_dir},
 	{"unblock-chv1", 2, 2, cmd_unblock_chv},
--- a/simtool/sstdump.c	Sat Feb 13 21:40:38 2021 +0000
+++ b/simtool/sstdump.c	Sun Feb 14 01:43:56 2021 +0000
@@ -1,6 +1,7 @@
 /*
- * This module implements the sst-dump command,
- * providing a more readable form of the SIM Service Table.
+ * This module implements the sst command, listing the SIM Service Table
+ * in a human-readable, yet very compact form: just a list of activated
+ * (or allocated but not activated, specially marked) service numbers.
  */
 
 #include <sys/types.h>
@@ -9,7 +10,7 @@
 #include "curfile.h"
 #include "file_id.h"
 
-cmd_sst_dump()
+cmd_sst()
 {
 	int rc;
 	unsigned byte, pos, code, nserv, linelen;