aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-27 00:13:21 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-01-27 15:31:01 +0300
commite8ebbe300c58c50e82ecd365e90659eafc714dc0 (patch)
treeb4c1ca937eefaa9ddfda15e8424a12f6586f343d /src
parente1dade0471f3fa50b7bc8fd763fc07cd3f71d09d (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/common/vty.c4
1 files changed, 2 insertions, 2 deletions
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;