]> git.puffer.fish Git - matthieu/frr.git/commitdiff
vty: fix configure terminal argument descriptions
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 27 Sep 2023 20:34:53 +0000 (23:34 +0300)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 28 Sep 2023 07:04:00 +0000 (07:04 +0000)
"terminal" and "file-lock" description are mixed up.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit b8ebb7fc62dc4e212e74189c8d53ee74f1b2d0e5)

lib/command.c
vtysh/vtysh.c

index 8025ab534fcfb012e9587dac0089195f295f4cd6..b09af640a3d96c9ecb75bb3c0bf7cc6a1755a89f 100644 (file)
@@ -1335,8 +1335,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);
 }
index 8b223d1aa482091e494b5a58aa5d69f9ff8999b5..16fe9fa35f26910e4aa48272dd6628ea4e2880cf 100644 (file)
@@ -2335,8 +2335,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;