diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-21 17:15:40 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 17:34:54 +0000 |
| commit | 1318e7c84190d55d958cd412276115850d46f55f (patch) | |
| tree | 8d8c1b5831997a4771cb7614575ad42c471b9862 /lib/command.c | |
| parent | 96ade3ed7716c89b8047a1c0ab3377985d461cf8 (diff) | |
*: s/VTY_NEWLINE/VTYNL/g
Should be able to fit more vty_out onto one line now
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/command.c b/lib/command.c index 574e7e0b4a..9f62fef2d2 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1349,7 +1349,7 @@ DEFUN (show_version, vty_outln (vty, "%s %s (%s).", FRR_FULL_NAME, FRR_VERSION, host.name ? host.name : ""); vty_outln (vty, "%s%s", FRR_COPYRIGHT, GIT_INFO); - vty_outln (vty, "configured with:%s %s", VTY_NEWLINE, + vty_outln (vty, "configured with:%s %s", VTYNL, FRR_CONFIG_ARGS); return CMD_SUCCESS; @@ -1385,9 +1385,9 @@ command argument (e.g. 'show ?') and describes each possible%s\ argument.%s\ 2. Partial help is provided when an abbreviated argument is entered%s\ and you want to know what arguments match the input%s\ - (e.g. 'show me?'.)%s", VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, - VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, - VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE); + (e.g. 'show me?'.)%s", VTYNL, VTYNL, VTYNL, + VTYNL, VTYNL, VTYNL, VTYNL, VTYNL, + VTYNL, VTYNL, VTYNL, VTYNL); return CMD_SUCCESS; } @@ -1488,7 +1488,7 @@ vty_write_config (struct vty *vty) if (vty->type == VTY_TERM) { - vty_outln (vty, "%sCurrent configuration:",VTY_NEWLINE); + vty_outln (vty, "%sCurrent configuration:",VTYNL); vty_outln (vty, "!"); } |
