From b0fe17660c93da6d781b60a3673e7637e1f48335 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 12 Jan 2023 07:21:41 +0100 Subject: [PATCH] chg: [[providence] accept multiple TLDs --- bin/providence.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/providence.py b/bin/providence.py index 4fd5cdf..a7e0d8b 100644 --- a/bin/providence.py +++ b/bin/providence.py @@ -20,6 +20,7 @@ parser.add_argument( "--tld", type=str, help="Limit to a specific TLD (if not, all known TLDs are tested)", + action="append" ) #parser.add_argument("","") @@ -60,7 +61,7 @@ def guess_name(name=None, tlds=None): if not args.tld: tlds = cache_suffixes() else: - tlds = [args.tld] + tlds = args.tld results = set()