summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-07 05:51:36 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-07 05:54:26 +0700
commit54a8c02a80a7e842bf94b7161a45eb20c0fa4d25 (patch)
tree6ab1e436771117d3b00aee2981069f045b77ec99 /src
parent6bab6acee634fcd05a175428e1077ab00188829a (diff)
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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/target/trx_toolkit/burst_gen.py6
1 files changed, 3 insertions, 3 deletions
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 @@ class Application:
" -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 @@ class Application:
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 @@ class Application:
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)