Improve IST/UST check documentation (for the user manual)
Change-Id: I18093d795721f2e729eff858c8922edde9e84451
diff --git a/pySim/ts_31_103.py b/pySim/ts_31_103.py
index f04f480..66124a8 100644
--- a/pySim/ts_31_103.py
+++ b/pySim/ts_31_103.py
@@ -125,9 +125,16 @@
self._cmd.card.update_ist(int(arg), 0)
def do_ist_service_check(self, arg):
- """Check consistency between services of this file and files present/activated"""
+ """Check consistency between services of this file and files present/activated.
+
+ Many services determine if one or multiple files shall be present/activated or if they shall be
+ absent/deactivated. This performs a consistency check to ensure that no services are activated
+ for files that are not - and vice-versa, no files are activated for services that are not. Error
+ messages are printed for every inconsistency found."""
selected_file = self._cmd.rs.selected_file
- selected_file.ust_service_check(self._cmd)
+ num_problems = selected_file.ust_service_check(self._cmd)
+ self._cmd.poutput("===> %u service / file inconsistencies detected" % num_problems)
+
# TS 31.103 Section 4.2.8
class EF_PCSCF(LinFixedEF):