mirror of
https://github.com/adulau/providence.git
synced 2024-12-22 00:36:00 +00:00
chg: [[providence] accept multiple TLDs
This commit is contained in:
parent
a8ac67cf00
commit
b0fe17660c
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue