[MERGED] osmo-bts[master]: cosmetic: vty prompts: add 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
Thu Dec 1 15:21:52 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: cosmetic: vty prompts: add space after '#'
......................................................................


cosmetic: vty prompts: add space after '#'

Typically, our VTY prompts have space after the '#', but some of the osmo-bts
VTY prompts don't:

  OsmoBTS# configure terminal
  OsmoBTS(config)# bts 0
  OsmoBTS(bts)#gsmtap-sapi ccch

Add spaces after the '#' to yield e.g.

  OsmoBTS(bts)# gsmtap-sapi ccch

Change-Id: If0591a359e77f01abb76c4113181af7a7733ddd4
---
M src/common/vty.c
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/vty.c b/src/common/vty.c
index 607b231..0fffca0 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -179,13 +179,13 @@
 
 static struct cmd_node bts_node = {
 	BTS_NODE,
-	"%s(bts)#",
+	"%s(bts)# ",
 	1,
 };
 
 static struct cmd_node trx_node = {
 	TRX_NODE,
-	"%s(trx)#",
+	"%s(trx)# ",
 	1,
 };
 
@@ -897,13 +897,13 @@
 
 static struct cmd_node phy_node = {
 	PHY_NODE,
-	"%s(phy)#",
+	"%s(phy)# ",
 	1,
 };
 
 static struct cmd_node phy_inst_node = {
 	PHY_INST_NODE,
-	"%s(phy-inst)#",
+	"%s(phy-inst)# ",
 	1,
 };
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If0591a359e77f01abb76c4113181af7a7733ddd4
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list