aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2023-06-17 16:25:02 +0200
committerjolly <andreas@eversberg.eu>2023-06-28 11:54:55 +0000
commit6e7739f70972c9cd6ccb4497f4303f3686f84611 (patch)
treefe1927fd3979c31ee6e03a15744bdc2b1fef1d16 /src/vty
parent72ab3b52003f9fbe5a43cb4fc3831f5035be3f0f (diff)
Allow 'configure <cr>' at VTY to enter config mode
Similar to HP/Aruba, only the word or abbreviation of 'configure' is required to enter config mode. This is the default. It is still possible to add other configuration sources than 'terminal' if implemented in the future. Change-Id: I56d5d1bd5526603a397c62542e667c413f4952ca
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/command.c b/src/vty/command.c
index e67fd860..a3e0e36b 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -2997,7 +2997,7 @@ return_invalid_indent:
/* Configration from terminal */
DEFUN(config_terminal,
config_terminal_cmd,
- "configure terminal",
+ "configure [terminal]",
"Configuration from vty interface\n" "Configuration terminal\n")
{
if (vty_config_lock(vty))