From 0fd12409538f502298d8fe02c5e524b8080aacd4 Mon Sep 17 00:00:00 2001 From: kulisak12 Date: Sun, 18 Sep 2022 15:15:00 +0200 Subject: [PATCH] =?UTF-8?q?Strategick=C3=A1:=20Klient=20je=20executable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klient/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 klient/client.py diff --git a/klient/client.py b/klient/client.py old mode 100644 new mode 100755 index 8cb15da..2394792 --- a/klient/client.py +++ b/klient/client.py @@ -17,8 +17,7 @@ parser.add_argument("--server", type=str, default="http://localhost:5000", help= parser.add_argument("--game", type=str, default="main", help="'main' or 'test_#'.") parser.add_argument("--command", type=str, nargs="+", default=["python3", "%"], help="Command to execute as strategy code. Use '%' for program.") parser.add_argument("--program", type=str, default=None, help="Program to substitute to command.") -parser.add_argument("--copy", default=False, action="store_true", - help="Save a copy of the program to ensure the same code is used all the time.") +parser.add_argument("--copy", default=False, action="store_true", help="Save a copy of the program to ensure the same code is used all the time.") parser.add_argument("--log-level", type=str, default="info", choices=["error", "warning", "info"]) parser.add_argument("--save-state", type=str, default=None, help="Save state to this file.")