Change in libosmocore[master]: ns2: Fix docs for some NS2 vty commands

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Wed Dec 2 14:52:38 UTC 2020


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21459 )


Change subject: ns2: Fix docs for some NS2 vty commands
......................................................................

ns2: Fix docs for some NS2 vty commands

Change-Id: Ie58607424340c102c930330e444c2e219c1803e0
---
M src/gb/gprs_ns2_vty.c
1 file changed, 6 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/59/21459/1

diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index b244a96..97becf6 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -54,6 +54,8 @@
 
 #include "gprs_ns2_internal.h"
 
+#define SHOW_NS_STR "Display information about the NS protocol\n"
+
 struct ns2_vty_priv {
 	/* global listen */
 	struct osmo_sockaddr_str udp;
@@ -323,7 +325,7 @@
 }
 
 DEFUN(show_ns_binds, show_ns_binds_cmd, "show ns binds [stats]",
-	SHOW_STR
+	SHOW_STR SHOW_NS_STR
 	"Display information about the NS protocol binds\n"
 	"Include statistic\n")
 {
@@ -336,7 +338,7 @@
 }
 
 DEFUN(show_ns_entities, show_ns_entities_cmd, "show ns entities [stats]",
-	SHOW_STR
+	SHOW_STR SHOW_NS_STR
 	"Display information about the NS protocol entities (NSEs)\n"
 	"Include statistics\n")
 {
@@ -349,8 +351,7 @@
 }
 
 DEFUN(show_ns_pers, show_ns_pers_cmd, "show ns persistent",
-	SHOW_STR
-	"Display information about the NS protocol\n"
+	SHOW_STR SHOW_NS_STR
 	"Show only persistent NS\n")
 {
 	dump_ns_entities(vty, vty_nsi, true, true);
@@ -358,7 +359,7 @@
 }
 
 DEFUN(show_nse, show_nse_cmd, "show ns (nsei|nsvc) <0-65535> [stats]",
-	SHOW_STR "Display information about the NS protocol\n"
+	SHOW_STR SHOW_NS_STR
 	"Select one NSE by its NSE Identifier\n"
 	"Select one NSE by its NS-VC Identifier\n"
 	"The Identifier of selected type\n"

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21459
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie58607424340c102c930330e444c2e219c1803e0
Gerrit-Change-Number: 21459
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201202/effb9ea4/attachment.htm>


More information about the gerrit-log mailing list