From 30b3eac094e2159073cec27dd081d2e768c996cd Mon Sep 17 00:00:00 2001 From: Stanislav BoboĊˆ Date: Tue, 20 Oct 2020 15:46:25 +0200 Subject: fixed help argument in click --- sec_certs/fips_certificates.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sec_certs/fips_certificates.py b/sec_certs/fips_certificates.py index 25fa13a4..55c6a33b 100755 --- a/sec_certs/fips_certificates.py +++ b/sec_certs/fips_certificates.py @@ -455,10 +455,10 @@ def extract_certs_from_tables(list_of_files, html_items): @click.command() -@click.argument("directory", required=True, type=str, help="The directory to use.") -@click.option("--do-download-meta", "do_download_meta", is_flag=True, help="Whether to download meta pages.") -@click.option("--do-download-certs", "do_download_certs", is_flag=True, help="Whether to download certs.") -@click.option("-t", "--threads", "threads", type=int, default=4, help="Amount of threads to use.") +@click.argument("directory", required=True, type=str) +@click.option("--do-download-meta", "do_download_meta", is_flag=True) +@click.option("--do-download-certs", "do_download_certs", is_flag=True) +@click.option("-t", "--threads", "threads", type=int, default=4) def main(directory, do_download_meta: bool, do_download_certs: bool, threads: int): start = time.time() directory = Path(directory) -- cgit v1.3.1