summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libgsmd/misc.h1
-rw-r--r--src/util/shell.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 0dc22f8..4ced5b1 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -41,6 +41,7 @@ extern int lgsm_opers_get(struct lgsm_handle *lh);
extern int lgsm_netreg_register(struct lgsm_handle *lh,
gsmd_oper_numeric oper);
extern int lgsm_netreg_deregister(struct lgsm_handle *lh);
+extern int lgsm_netreg_query(struct lgsm_handle *lh);
enum lgsm_netreg_state {
LGSM_NETREG_ST_NOTREG = 0,
diff --git a/src/util/shell.c b/src/util/shell.c
index 0507be5..ae92611 100644
--- a/src/util/shell.c
+++ b/src/util/shell.c
@@ -527,6 +527,7 @@ static void shell_help(void)
"\tN\tPrint current operator in numeric\n"
"\tL\tList available operators\n"
"\tQ\tRead signal quality\n"
+ "\tnr\tQuery network registration\n"
"\tS\tSleep (S[=second], default 5)\n"
"\tT\tSend DTMF Tone\n"
"\tn\tPrint subscriber numbers\n"
personal git repositories of Harald Welte. Your mileage may vary