Skip to content

Commit 736b4c2

Browse files
committed
feat: Add program name to argument parser for clarity
1 parent c982e47 commit 736b4c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jiyu_udp_attack/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
def main_parser():
4949
parser = argparse.ArgumentParser(
50+
prog="Jiyu_udp_attack",
5051
description="Jiyu Attack Script\n\n"
5152
"Github Repositories: https://github.com/weilycoder/Jiyu_udp_attack/tree/main/ \n",
5253
epilog="Example usage:\n"
@@ -137,7 +138,7 @@ def main_parser():
137138
metavar="<command>",
138139
help="Execute a command on the target machine\n(`cmd /D /C <command>`, Windows only)",
139140
)
140-
temp = attack_action.add_argument(
141+
attack_action.add_argument(
141142
"-e",
142143
"--execute",
143144
nargs="+",

0 commit comments

Comments
 (0)