Vadim Yanitskiy has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/20483 )

Change subject: vty: fix 'show bts' command: BTS number is optional
......................................................................

vty: fix 'show bts' command: BTS number is optional

Change-Id: If53fb07ec38f6bbc368ce84d14e59fa8167691d3
---
M src/common/vty.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/vty.c b/src/common/vty.c
index f9bccee..534b632 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -965,9 +965,9 @@
 }


-DEFUN(show_bts, show_bts_cmd, "show bts <0-255>",
-       SHOW_STR "Display information about a BTS\n"
-               BTS_NR_STR)
+DEFUN(show_bts, show_bts_cmd, "show bts [<0-255>]",
+      SHOW_STR "Display information about a BTS\n"
+      BTS_NR_STR)
 {
        const struct gsm_network *net = gsmnet_from_vty(vty);
        int bts_nr;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: If53fb07ec38f6bbc368ce84d14e59fa8167691d3
Gerrit-Change-Number: 20483
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to