summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index f02bd0c88..794708683 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2528,9 +2528,9 @@ DEFUN (vtysh_write_terminal,
else
fp = stdout;
- vty_outln (vty, "Building configuration...");
- vty_outln (vty, "%sCurrent configuration:",VTYNL);
- vty_outln (vty, "!");
+ vty_out (vty, "Building configuration...\n");
+ vty_out (vty, "%sCurrent configuration:\n",VTYNL);
+ vty_out (vty, "!\n");
for (i = 0; i < array_size(vtysh_client); i++)
if ((argc < 3 ) || (strmatch (vtysh_client[i].name, argv[2]->text)))
@@ -2552,7 +2552,7 @@ DEFUN (vtysh_write_terminal,
fp = NULL;
}
- vty_outln (vty, "end");
+ vty_out (vty, "end\n");
return CMD_SUCCESS;
}
@@ -2785,7 +2785,7 @@ DEFUN (vtysh_terminal_length,
lines = strtol (argv[idx_number]->arg, &endptr, 10);
if (lines < 0 || lines > 512 || *endptr != '\0')
{
- vty_outln (vty, "length is malformed");
+ vty_out (vty, "length is malformed\n");
return CMD_WARNING;
}