Skip to content

Commit 9865f88

Browse files
committed
refactor!: Correct argument flags
BREAKING CHANGE: Correct argument flags for teacher IP and port in command line parser
1 parent c9a2dd5 commit 9865f88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jiyu_udp_attack/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
epilog="Github Repositories: https://github.com/weilycoder/Jiyu_udp_attack/tree/main/",
2323
)
2424
parser.add_argument(
25-
"-s",
25+
"-f",
2626
"--teacher-ip",
2727
type=str,
2828
required=True,
2929
help="Teacher's IP address",
3030
)
3131
parser.add_argument(
32-
"-f",
32+
"-fp",
3333
"--teacher-port",
3434
type=int,
3535
default=None,
@@ -43,8 +43,8 @@
4343
help="Target IP address",
4444
)
4545
parser.add_argument(
46-
"-p",
47-
"--port",
46+
"-tp",
47+
"--target-port",
4848
type=int,
4949
default=4705,
5050
help="Port to send packets to (default: 4705)",

0 commit comments

Comments
 (0)