neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/32627 )
Change subject: vty: fix doc strings for 'show {hnb,ue}'
......................................................................
vty: fix doc strings for 'show {hnb,ue}'
Change-Id: I79f8b13a9f22fb8311017005cc0a3ac3a7e78983
---
M src/osmo-hnbgw/hnbgw_vty.c
1 file changed, 17 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/27/32627/1
diff --git a/src/osmo-hnbgw/hnbgw_vty.c b/src/osmo-hnbgw/hnbgw_vty.c
index 8d2366f..70c2d13 100644
--- a/src/osmo-hnbgw/hnbgw_vty.c
+++ b/src/osmo-hnbgw/hnbgw_vty.c
@@ -221,7 +221,10 @@
hnb_context_name(ue->hnb), VTY_NEWLINE);
}
-DEFUN(show_hnb, show_hnb_cmd, "show hnb all", SHOW_STR "Display
information about all HNB")
+#define SHOW_HNB_STR SHOW_STR "Display information about HNB\n"
+
+DEFUN(show_hnb, show_hnb_cmd, "show hnb all",
+ SHOW_HNB_STR "All HNB\n")
{
struct hnb_context *hnb;
unsigned int count = 0;
@@ -241,7 +244,8 @@
return CMD_SUCCESS;
}
-DEFUN(show_one_hnb, show_one_hnb_cmd, "show hnb NAME ", SHOW_STR "Display
information about a HNB")
+DEFUN(show_one_hnb, show_one_hnb_cmd, "show hnb NAME ",
+ SHOW_HNB_STR "HNB name\n")
{
struct hnb_context *hnb;
const char *identity_info = argv[0];
@@ -261,7 +265,8 @@
return CMD_SUCCESS;
}
-DEFUN(show_ue, show_ue_cmd, "show ue all", SHOW_STR "Display information
about a UE")
+DEFUN(show_ue, show_ue_cmd, "show ue all",
+ SHOW_STR "Display HNBAP information about UE\n" "All UE\n")
{
struct ue_context *ue;
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/32627
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I79f8b13a9f22fb8311017005cc0a3ac3a7e78983
Gerrit-Change-Number: 32627
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange