summaryrefslogtreecommitdiff
path: root/tests/lib/cli/common_cli.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2017-06-29 13:22:37 -0500
committerGitHub <noreply@github.com>2017-06-29 13:22:37 -0500
commitefd934cab078c715c5f647c19cebd8f85463b753 (patch)
tree313fa8bf14a7154db1cf285e5cc9dc7621f3fdc7 /tests/lib/cli/common_cli.c
parent9e3b206d7c25902cd3917d8969f16d118c8fea91 (diff)
parent8e25c8ce2ff6718d3c1d6cb5b6df6409147570d6 (diff)
Merge pull request #746 from qlyoung/vty-outln
vty_outln()
Diffstat (limited to 'tests/lib/cli/common_cli.c')
-rw-r--r--tests/lib/cli/common_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index cfe1e3cc3b..27b28b126f 100644
--- a/tests/lib/cli/common_cli.c
+++ b/tests/lib/cli/common_cli.c
@@ -36,10 +36,10 @@ int dump_args(struct vty *vty, const char *descr,
int argc, struct cmd_token *argv[])
{
int i;
- vty_out (vty, "%s with %d args.%s", descr, argc, VTY_NEWLINE);
+ vty_outln (vty, "%s with %d args.", descr, argc);
for (i = 0; i < argc; i++)
{
- vty_out (vty, "[%02d] %s@%s: %s%s", i, argv[i]->text, argv[i]->varname, argv[i]->arg, VTY_NEWLINE);
+ vty_outln (vty, "[%02d] %s@%s: %s", i, argv[i]->text, argv[i]->varname, argv[i]->arg);
}
return CMD_SUCCESS;