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



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/86/12186/1

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: newchange
Gerrit-Change-Id: Ib8a46e25cbc6266c3e147582f9e8045362270151
Gerrit-Change-Number: 12186
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>

Reply via email to