From 63469ec5409e44854cd2197f4a8524f667a6962a Mon Sep 17 00:00:00 2001 From: aravindgee Date: Mon, 8 Sep 2025 13:02:59 -0400 Subject: [PATCH] fix: docker cmd in readme script --- scripts/readmecli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/readmecli.py b/scripts/readmecli.py index c96245f3..16ed78cc 100644 --- a/scripts/readmecli.py +++ b/scripts/readmecli.py @@ -52,7 +52,7 @@ def run_docker_help(image_repository, image_tag, entry_command): """Run docker image with the entry command and --help""" try: # Include the entry command if available - command = f"docker run --entrypoint {entry_command} --rm {image_repository}:{image_tag} --help" + command = f"docker run --entrypoint {entry_command} --rm {image_repository}:{image_tag} --help|grep -v 'Version:'|grep -v 'Sample usage:'" output = subprocess.check_output( command, stderr=subprocess.STDOUT, shell=True) return output.decode('utf-8')