sccp_vty: fix doc strings for show ... ssn,connections

For 'show cs7 instance 0 ssn', fix doc string for 'ssn', and add missing one
for the SSN arg. This fixes depending builds that see VTY test failures due to
the missing doc string.

For 'show cs7 instance 0 connectsion', fix doc string for 'connections'.

Change-Id: I214ea51fc6bfa2a9a4dd7c34b43add0c77ffe22e
This commit is contained in:
Neels Hofmeyr 2018-09-27 03:28:19 +02:00
parent 6d867d1d08
commit eb2068d501
2 changed files with 6 additions and 5 deletions

View File

@ -83,7 +83,8 @@ DEFUN(show_sccp_users, show_sccp_users_cmd,
DEFUN(show_sccp_user_ssn, show_sccp_user_ssn_cmd,
"show cs7 instance <0-15> sccp ssn <0-65535>",
SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR
"Show List of SCCP Users registered\n")
"Find an SCCP User registered for the given SSN\n"
"Subsystem Number (SSN)\n")
{
int id = atoi(argv[0]);
int ssn = atoi(argv[1]);
@ -117,7 +118,7 @@ DEFUN(show_sccp_user_ssn, show_sccp_user_ssn_cmd,
DEFUN(show_sccp_connections, show_sccp_connections_cmd,
"show cs7 instance <0-15> sccp connections",
SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR
"Show List of SCCP Users registered\n")
"Show List of active SCCP connections\n")
{
int id = atoi(argv[0]);
struct osmo_ss7_instance *inst;

View File

@ -55,11 +55,11 @@ ss7_asp_vty_test# show cs7 instance 0 as ?
ss7_asp_vty_test# show cs7 instance 0 sccp ?
addressbook List all SCCP addressbook entries
users Show List of SCCP Users registered
ssn Show List of SCCP Users registered
connections Show List of SCCP Users registered
ssn Find an SCCP User registered for the given SSN
connections Show List of active SCCP connections
ss7_asp_vty_test# show cs7 instance 0 sccp ssn ?
<0-65535>
<0-65535> Subsystem Number (SSN)
ss7_asp_vty_test# configure terminal
ss7_asp_vty_test(config)# cs7 instance 0