[MERGED] osmocom-bb[master]: layer23 vty: fix prompts: insert space after '#'

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Nov 15 11:48:26 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: layer23 vty: fix prompts: insert space after '#'
......................................................................


layer23 vty: fix prompts: insert space after '#'

"All" our VTY prompts have a space after the prompt.
Also do that for '(ms)', '(test-sim)' and '(support)' prompts.

Change

  OsmocomBB(ms)#exit

to

  OsmocomBB(ms)# exit

Change-Id: Id437279e0fa9845630a306958b404efa3b94b492
---
M src/host/layer23/src/mobile/vty_interface.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c
index 9a4ae63..cbf8162 100644
--- a/src/host/layer23/src/mobile/vty_interface.c
+++ b/src/host/layer23/src/mobile/vty_interface.c
@@ -55,19 +55,19 @@
 
 struct cmd_node ms_node = {
 	MS_NODE,
-	"%s(ms)#",
+	"%s(ms)# ",
 	1
 };
 
 struct cmd_node testsim_node = {
 	TESTSIM_NODE,
-	"%s(test-sim)#",
+	"%s(test-sim)# ",
 	1
 };
 
 struct cmd_node support_node = {
 	SUPPORT_NODE,
-	"%s(support)#",
+	"%s(support)# ",
 	1
 };
 

-- 
To view, visit https://gerrit.osmocom.org/4831
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id437279e0fa9845630a306958b404efa3b94b492
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list