From 2a2c3a09c1a078fe89ac2c39a6688a3e44e09c8a Mon Sep 17 00:00:00 2001 From: Devansh Sharma Date: Wed, 16 Feb 2022 23:42:22 +0530 Subject: [PATCH] Fix timeout value data type Signed-off-by: Devansh Sharma --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index d0b5028..c44ce9a 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -1782,7 +1782,7 @@ def compose_up_parse(parser): help="Build images before starting containers.") parser.add_argument("--abort-on-container-exit", action='store_true', help="Stops all containers if any container was stopped. Incompatible with -d.") - parser.add_argument("-t", "--timeout", type=float, default=10, + parser.add_argument("-t", "--timeout", type=int, default=10, help="Use this timeout in seconds for container shutdown when attached or when containers are already running. (default: 10)") parser.add_argument("-V", "--renew-anon-volumes", action='store_true', help="Recreate anonymous volumes instead of retrieving data from the previous containers.")