]> 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)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 27 Sep 2023 20:34:53 +0000 (23:34 +0300)
"terminal" and "file-lock" description are mixed up.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/command.c
vtysh/vtysh.c

index affb551b459816ed4557538dc145e34abd3c5504..b983ebb4e5b7ae2bfe94825d8135bd38852fb479 100644 (file)
@@ -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);
 }
index 050807ccd8f9d35d2dcfb1b11d16fd6fe37453b4..2475ef0c8f6212aee1c2b30ee90ec350db010bfb 100644 (file)
@@ -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;