aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-26 22:54:51 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-26 22:58:07 +0200
commit356918fed417a851557b70a262c15b8aeef7b784 (patch)
tree9fcc5c65562099dfe281c4478fbee5cec3c24374
parent70e04c7ccc6e75cd13ea71f2a0a8b3c9e66d4b38 (diff)
fix parsing error during "e1_line N port M"
A misplaced comma in the DEFUN macro argument list resulted in part of the help message becoming part of the command syntax ;)
-rw-r--r--src/e1_input_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e1_input_vty.c b/src/e1_input_vty.c
index 10c4687..8ab581f 100644
--- a/src/e1_input_vty.c
+++ b/src/e1_input_vty.c
@@ -70,8 +70,8 @@ DEFUN(cfg_e1line_driver, cfg_e1_line_driver_cmd,
}
DEFUN(cfg_e1line_port, cfg_e1_line_port_cmd,
- "e1_line <0-255> port <0-255>"
- E1_LINE_HELP, "Set physical port/span/card number\n"
+ "e1_line <0-255> port <0-255>",
+ E1_LINE_HELP "Set physical port/span/card number\n"
"E1/T1 Port/Span/Card number\n")
{
struct e1inp_line *line;