From 3cb34ef03d57a322285b6fc250e08ea28acf2afa Mon Sep 17 00:00:00 2001 From: Niloth P <20315308+Niloth-p@users.noreply.github.com> Date: Tue, 27 May 2025 11:01:44 +0530 Subject: [PATCH] generate-integration-docs-screenshot: Rename the `fixture` option. to `fixture-name` to match the name of the corresponding field in the ScreenshotConfig dataclass. This is in preparation to loading all the options into a config dict in a single step in a later commit. --- tools/screenshots/generate-integration-docs-screenshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/screenshots/generate-integration-docs-screenshot b/tools/screenshots/generate-integration-docs-screenshot index 4b1879675c..75cdac6850 100755 --- a/tools/screenshots/generate-integration-docs-screenshot +++ b/tools/screenshots/generate-integration-docs-screenshot @@ -271,7 +271,7 @@ batch_group.add_argument( batch_group.add_argument("--integration", nargs="+", help="Names of specific integrations") parser.add_argument( - "--fixture", + "--fixture-name", help="Name of the fixture file to use. All other webhook options are ignored if the fixture is not specified.", ) parser.add_argument("--image-name", help="Name for the screenshot image") @@ -322,7 +322,7 @@ elif options.skip_until: for screenshot_config in screenshot_configs: generate_screenshot_from_config(integration_name, screenshot_config) -elif options.fixture: +elif options.fixture_name: if len(options.integration) != 1: parser.error( "Exactly one integration should be specified for --integration when --fixture is provided"