Change in osmo-bts[master]: vty: fix double '%' in description of some commands

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

fixeria gerrit-no-reply at lists.osmocom.org
Mon Nov 2 12:57:49 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/21013 )

Change subject: vty: fix double '%' in description of some commands
......................................................................

vty: fix double '%' in description of some commands

Command description is not a format string => no need to escape.

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

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/common/vty.c b/src/common/vty.c
index 82fcba2..6fe1ca7 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -588,9 +588,9 @@
 	   cfg_bts_agch_queue_mgmt_params_cmd,
 	   "agch-queue-mgmt threshold <0-100> low <0-100> high <0-100000>",
 	   AGCH_QUEUE_STR
-	   "Threshold to start cleanup\nin %% of the maximum queue length\n"
-	   "Low water mark for cleanup\nin %% of the maximum queue length\n"
-	   "High water mark for cleanup\nin %% of the maximum queue length\n",
+	   "Threshold to start cleanup\nin % of the maximum queue length\n"
+	   "Low water mark for cleanup\nin % of the maximum queue length\n"
+	   "High water mark for cleanup\nin % of the maximum queue length\n",
 	   CMD_ATTR_IMMEDIATE)
 {
 	struct gsm_bts *bts = vty->index;
@@ -672,8 +672,8 @@
 	   "Configure filtering for uplink power control loop\n"
 	   "Select the filtering algorithm\n"
 	   "Exponentially Weighted Moving Average (EWMA)\n"
-	   "Smoothing factor (in %%): beta = (100 - alpha)\n"
-	   "1%% - lowest smoothing, 99%% - highest smoothing\n",
+	   "Smoothing factor (in %): beta = (100 - alpha)\n"
+	   "1% - lowest smoothing, 99% - highest smoothing\n",
 	   CMD_ATTR_IMMEDIATE)
 {
 	struct gsm_bts *bts = vty->index;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib2e339efccec1fc5416ab4b9460a27fa1f8e8044
Gerrit-Change-Number: 21013
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/a2dd3657/attachment.htm>


More information about the gerrit-log mailing list