Added missing types to arguments
This commit is contained in:
parent
eff0a607d2
commit
37ae69c2c6
|
@ -44,13 +44,19 @@ def main():
|
||||||
"--local-addr", help="sender address to use in the UDP frames", required=True
|
"--local-addr", help="sender address to use in the UDP frames", required=True
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--local-port", help="sender port to use in the UDP frames", default=4810
|
"--local-port",
|
||||||
|
help="sender port to use in the UDP frames",
|
||||||
|
default=4810,
|
||||||
|
type=int,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--remote-addr", help="remote address to use in the UDP frames", required=True
|
"--remote-addr", help="remote address to use in the UDP frames", required=True
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--remote-port", help="remote port to use in the UDP frames", default=3810
|
"--remote-port",
|
||||||
|
help="remote port to use in the UDP frames",
|
||||||
|
default=3810,
|
||||||
|
type=int,
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
|
@ -17,16 +17,26 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--local-addr", help="sender address to use in the UDP frames", required=True
|
"--local-addr",
|
||||||
|
help="sender address to use in the UDP frames",
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--local-port", help="sender port to use in the UDP frames", default=4810
|
"--local-port",
|
||||||
|
help="sender port to use in the UDP frames",
|
||||||
|
default=4810,
|
||||||
|
type=int,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--remote-addr", help="remote address to use in the UDP frames", required=True
|
"--remote-addr",
|
||||||
|
help="remote address to use in the UDP frames",
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--remote-port", help="remote port to use in the UDP frames", default=3810
|
"--remote-port",
|
||||||
|
help="remote port to use in the UDP frames",
|
||||||
|
default=3810,
|
||||||
|
type=int,
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
Loading…
Reference in a new issue