From e8ebbe300c58c50e82ecd365e90659eafc714dc0 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 27 Jan 2019 00:13:21 +0700 Subject: common/vty.c: fix 'cfg_phy_no_inst_cmd' command description A comma is needed to separate a command definition from its description, not the parts of description. Let's fix this. Before this patch: OsmoBTS# configure terminal OsmoBTS(config)# phy 0 OsmoBTS(phy)# no? no PHY Instance number OsmoBTS(phy)# no ? instance osmotrx OsmoTRX Transceiver configuration After this patch: OsmoBTS# configure terminal OsmoBTS(config)# phy 0 OsmoBTS(phy)# no? no Negate a command or set its defaults OsmoBTS(phy)# no ? instance Select a PHY instance to remove osmotrx OsmoTRX Transceiver configuration Change-Id: If10d85abc6506118ba08c37e8101f423d6f838ea --- src/common/vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/vty.c') diff --git a/src/common/vty.c b/src/common/vty.c index bb88c578..e4a9dc15 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -1463,8 +1463,8 @@ DEFUN(cfg_phy_inst, cfg_phy_inst_cmd, } DEFUN(cfg_phy_no_inst, cfg_phy_no_inst_cmd, - "no instance <0-255>" - NO_STR "Select a PHY instance to remove\n", "PHY Instance number\n") + "no instance <0-255>", + NO_STR "Select a PHY instance to remove\n" "PHY Instance number\n") { int inst_nr = atoi(argv[0]); struct phy_link *plink = vty->index; -- cgit v1.2.3