Change in libosmocore[master]: vty/command: cosmetic: fix formatting of config_help_cmd

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Aug 15 07:46:54 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19574 )

Change subject: vty/command: cosmetic: fix formatting of config_help_cmd
......................................................................

vty/command: cosmetic: fix formatting of config_help_cmd

Change-Id: I8f784d0cf65fa7813088e3ff76d7213b99b975d0
---
M src/vty/command.c
1 file changed, 15 insertions(+), 14 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/vty/command.c b/src/vty/command.c
index 75bc00d..d8fe463 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -2834,20 +2834,21 @@
 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;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19574
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I8f784d0cf65fa7813088e3ff76d7213b99b975d0
Gerrit-Change-Number: 19574
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200815/178378b3/attachment.htm>


More information about the gerrit-log mailing list