summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-04 18:47:17 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-04 18:47:17 +0000
commit98463e0ab752e3975f3f3ebb0ad99bbb205e1187 (patch)
treedd1c2848c2b9c97050ed90a7e1d84c9a3f237cda /lib/command.c
parentccb8e0c7fb7cae7151fff87005ddd6a67e5e833c (diff)
lib: fix password and enable password syntax
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index 35b13fe8e0..bbb6a566f1 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1373,7 +1373,7 @@ DEFUN (config_no_hostname,
/* VTY interface password set. */
DEFUN (config_password,
password_cmd,
- "password [8] WORD",
+ "password [(8-8)] WORD",
"Assign the terminal connection password\n"
"Specifies a HIDDEN password will follow\n"
"The password string\n")
@@ -1417,7 +1417,7 @@ DEFUN (config_password,
/* VTY enable password set. */
DEFUN (config_enable_password,
enable_password_cmd,
- "enable password [8] WORD",
+ "enable password [(8-8)] WORD",
"Modify enable password parameters\n"
"Assign the privileged level password\n"
"Specifies a HIDDEN password will follow\n"