From 16dfddf22115a5e7107f7aab64bd465316292fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Sun, 15 Dec 2024 11:47:48 +0100 Subject: [PATCH] Update generate_spec_xml.py Remove in-progress --- scripts/spec_xml/generate_spec_xml.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/spec_xml/generate_spec_xml.py b/scripts/spec_xml/generate_spec_xml.py index 30c15f21fa2a07..e054f579d85493 100755 --- a/scripts/spec_xml/generate_spec_xml.py +++ b/scripts/spec_xml/generate_spec_xml.py @@ -76,12 +76,9 @@ def make_asciidoc(target: str, include_in_progress: str, spec_dir: str, dry_run: default=False, is_flag=True, help='Flag for dry run') -@click.option( - '--include-in-progress', - type=click.Choice(['All', 'None', 'Current']), default='All') def main(scraper, spec_root, output_dir, dry_run, include_in_progress): if not output_dir: - output_dir_map = {'All': DEFAULT_OUTPUT_DIR_TOT, 'None': DEFAULT_OUTPUT_DIR_1_3, 'Current': DEFAULT_OUTPUT_DIR_IN_PROGRESS} + output_dir_map = {'All': DEFAULT_OUTPUT_DIR_TOT, 'None': DEFAULT_OUTPUT_DIR_1_3} output_dir = output_dir_map[include_in_progress] scrape_clusters(scraper, spec_root, output_dir, dry_run, include_in_progress) scrape_device_types(scraper, spec_root, output_dir, dry_run, include_in_progress)