diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-08-12 16:52:35 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-08-15 07:46:53 +0000 |
commit | 1d7ae15625db852794018525484516f86227cfd0 (patch) | |
tree | cfdabc76bd5bdacb957e69de2e624a0bb46db21c /src/vty | |
parent | 6f50e21936b0900d71be19e89532002c8aa06a49 (diff) |
vty/command: cosmetic: fix formatting of config_help_cmd
Change-Id: I8f784d0cf65fa7813088e3ff76d7213b99b975d0
Diffstat (limited to 'src/vty')
-rw-r--r-- | src/vty/command.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/vty/command.c b/src/vty/command.c index 75bc00de..d8fe4637 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -2834,20 +2834,21 @@ DEFUN(show_online_help, gDEFUN(config_help, config_help_cmd, "help", "Description of the interactive help system\n") { - vty_out(vty, - "This VTY provides advanced help features. When you need help,%s\ -anytime at the command line please press '?'.%s\ -%s\ -If nothing matches, the help list will be empty and you must backup%s\ - until entering a '?' shows the available options.%s\ -Two styles of help are provided:%s\ -1. Full help is available when you are ready to enter a%s\ -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%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, VTY_NEWLINE); + vty_out(vty, "This VTY provides advanced help features. When you need help,%s" + "anytime at the command line please press '?'.%s%s" + "If nothing matches, the help list will be empty and you must backup%s" + " until entering a '?' shows the available options.%s" + "Two styles of help are provided:%s" + "1. Full help is available when you are ready to enter a%s" + "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%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, + VTY_NEWLINE); return CMD_SUCCESS; } |