[PATCH] 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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Nov 9 17:33:21 UTC 2016


Review at  https://gerrit.osmocom.org/1220

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/20/1220/1

diff --git a/src/common/vty.c b/src/common/vty.c
index b4aa616..ca2bfc6 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,
 };
 
@@ -895,13 +895,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: newchange
Gerrit-Change-Id: If0591a359e77f01abb76c4113181af7a7733ddd4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list