From eb2068d501cf5731bcfb4db3f8dbaa928a70c202 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 27 Sep 2018 03:28:19 +0200 Subject: 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 --- src/sccp_vty.c | 5 +++-- tests/vty/ss7_asp_test.vty | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/sccp_vty.c b/src/sccp_vty.c index 2727ccc..b11fec5 100644 --- a/src/sccp_vty.c +++ b/src/sccp_vty.c @@ -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; diff --git a/tests/vty/ss7_asp_test.vty b/tests/vty/ss7_asp_test.vty index fee97b3..05c7527 100644 --- a/tests/vty/ss7_asp_test.vty +++ b/tests/vty/ss7_asp_test.vty @@ -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 -- cgit v1.2.3