diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2023-09-27 22:34:53 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-09-27 22:34:53 +0200 |
commit | b8ebb7fc62dc4e212e74189c8d53ee74f1b2d0e5 (patch) | |
tree | 6379f9ada6617a0e5b813c0b5a9730b50f44653c | |
parent | Merge pull request #14447 from marcos-ng/master (diff) | |
download | frr-b8ebb7fc62dc4e212e74189c8d53ee74f1b2d0e5.tar.xz frr-b8ebb7fc62dc4e212e74189c8d53ee74f1b2d0e5.zip |
vty: fix configure terminal argument descriptions
"terminal" and "file-lock" description are mixed up.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to '')
-rw-r--r-- | lib/command.c | 4 | ||||
-rw-r--r-- | vtysh/vtysh.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/command.c b/lib/command.c index affb551b4..b983ebb4e 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 050807ccd..2475ef0c8 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; |