args fixed

This commit is contained in:
Florent 2025-04-30 09:27:08 +02:00
parent e3e944787a
commit 8cdb5caeee

View file

@ -1441,7 +1441,7 @@ async def main(argv):
with open(MCCLI_ADDRESS, encoding="utf-8") as f :
address = f.readline().strip()
opts, args = getopt.getopt(argv, "a:d:s:ht:p:b:jDhSlT:")
opts, args = getopt.getopt(argv, "a:d:s:ht:p:b:jDhvSlT:")
for opt, arg in opts :
match opt:
case "-d" : # name specified on cmdline