neels has submitted this change. ( 
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}'

Fixes: OS#5987
Change-Id: I79f8b13a9f22fb8311017005cc0a3ac3a7e78983
---
M src/osmo-hnbgw/hnbgw_vty.c
1 file changed, 18 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved
  laforge: Looks good to me, approved




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: 3
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to