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
Sun Nov 1 17:46:18 UTC 2020


fixeria has uploaded this change for review. ( 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(-)



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

diff --git a/src/common/vty.c b/src/common/vty.c
index 954e02c..7baddef 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -591,9 +591,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;
@@ -675,8 +675,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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201101/d59666c4/attachment.htm>


More information about the gerrit-log mailing list