Change in osmocom-bb[master]: trx_toolkit/burst_gen.py: fix short version of --burst-type

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri Dec 7 12:34:57 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/12186 )

Change subject: trx_toolkit/burst_gen.py: fix short version of --burst-type
......................................................................

trx_toolkit/burst_gen.py: fix short version of --burst-type

Both '--bind-addr' and '--burst-type' had the same short '-b'.
Let's use the upper case version for '--burst-type'.

Change-Id: Ib8a46e25cbc6266c3e147582f9e8045362270151
---
M src/target/trx_toolkit/burst_gen.py
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/src/target/trx_toolkit/burst_gen.py b/src/target/trx_toolkit/burst_gen.py
index 9a17ffa..0268da9 100755
--- a/src/target/trx_toolkit/burst_gen.py
+++ b/src/target/trx_toolkit/burst_gen.py
@@ -159,7 +159,7 @@
 			 "  -p --base-port      Set base port number (default %d)\n\n"
 
 		s += " Burst generation\n" \
-			 "  -b --burst-type     Random burst type (NB, FB, SB, AB)\n"    \
+			 "  -B --burst-type     Random burst type (NB, FB, SB, AB)\n"    \
 			 "  -c --burst-count    How much bursts to send (default 1)\n"   \
 			 "  -f --frame-number   Set frame number (default random)\n"     \
 			 "  -t --timeslot       Set timeslot index (default random)\n"   \
@@ -176,7 +176,7 @@
 	def parse_argv(self):
 		try:
 			opts, args = getopt.getopt(sys.argv[1:],
-				"o:m:r:b:p:b:c:f:t:h",
+				"o:m:r:b:p:B:c:f:t:h",
 				[
 					"help",
 					"output-file="
@@ -213,7 +213,7 @@
 			elif o in ("-p", "--base-port"):
 				self.base_port = int(v)
 
-			elif o in ("-b", "--burst-type"):
+			elif o in ("-B", "--burst-type"):
 				self.burst_type = v
 			elif o in ("-c", "--burst-count"):
 				self.burst_count = int(v)

-- 
To view, visit https://gerrit.osmocom.org/12186
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8a46e25cbc6266c3e147582f9e8045362270151
Gerrit-Change-Number: 12186
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181207/7e15e119/attachment.htm>


More information about the gerrit-log mailing list