From b8ebb7fc62dc4e212e74189c8d53ee74f1b2d0e5 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Wed, 27 Sep 2023 23:34:53 +0300 Subject: [PATCH] vty: fix configure terminal argument descriptions "terminal" and "file-lock" description are mixed up. Signed-off-by: Igor Ryzhov --- lib/command.c | 4 ++-- vtysh/vtysh.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/command.c b/lib/command.c index affb551b45..b983ebb4e5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1331,8 +1331,8 @@ DEFUN (config_terminal, config_terminal_cmd, "configure [terminal [file-lock]]", "Configuration from vty interface\n" - "Configuration with locked datastores\n" - "Configuration terminal\n") + "Configuration terminal\n" + "Configuration with locked datastores\n") { return vty_config_enter(vty, false, false, argc == 3); } diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 050807ccd8..2475ef0c8f 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2381,8 +2381,8 @@ DEFUNSH(VTYSH_REALLYALL, vtysh_disable, vtysh_disable_cmd, "disable", DEFUNSH(VTYSH_REALLYALL, vtysh_config_terminal, vtysh_config_terminal_cmd, "configure [terminal [file-lock]]", "Configuration from vty interface\n" - "Configuration with locked datastores\n" - "Configuration terminal\n") + "Configuration terminal\n" + "Configuration with locked datastores\n") { vty->node = CONFIG_NODE; return CMD_SUCCESS; -- 2.39.5