aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-08 21:39:26 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-08 17:05:15 +0000
commit81ca3206ad0ed4e8158148ef0e6e3904c5bda905 (patch)
tree68c89f732000a71b50f238d68742ec110c4bc264 /src/common
parent132f72e76a8be26d3c472e5afb555349e08aa979 (diff)
vty: fix 'show bts' command: BTS number is optional
Diffstat (limited to 'src/common')
-rw-r--r--src/common/vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index f9bccee2..534b6328 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -965,9 +965,9 @@ static void bts_dump_vty(struct vty *vty, const struct gsm_bts *bts)
}
-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;