aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-08-12 16:52:35 +0700
committerlaforge <laforge@osmocom.org>2020-08-15 07:46:53 +0000
commit1d7ae15625db852794018525484516f86227cfd0 (patch)
treecfdabc76bd5bdacb957e69de2e624a0bb46db21c /src/vty
parent6f50e21936b0900d71be19e89532002c8aa06a49 (diff)
vty/command: cosmetic: fix formatting of config_help_cmd
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/command.c29
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;
}