update name & add docs

This commit is contained in:
2026-09-06 09:30:40 -05:00
parent 49c87d9dbf
commit b6630d844c
4 changed files with 123 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def parse_args():
execute_arg_group.add_argument("-e", "--execute-command", help="Send a single command on the RCON server. Can be passed multiple times to run multiple commands. Does not abort on server-side command failures. Requires -H and -p to be specified. Mutually exclusive with -E.", metavar="COMMAND", action='append')
execute_arg_group.add_argument("-E", "--execute-file", help="Execute a Python file. Requires -H and -p to be specified. Mutually exclusive with -e.", metavar="FILEPATH")
parser.add_argument("--echo", help="Echo a command before sending it. Does nothing when neither -e nor -E are not present.", action="store_true")
parser.add_argument("--echo", help="Echo a command before sending it. Does nothing when neither -e nor -E is present.", action="store_true")
parser.add_argument("--socket-timeout", help="Set the timeout for the socket when waiting to receive data. Default 30 seconds.", type=float, metavar="TIMEOUT_SECONDS")
args = parser.parse_args()