diff --git a/dns_compare.py b/dns_compare.py index f529e6f..c5fbb34 100755 --- a/dns_compare.py +++ b/dns_compare.py @@ -22,8 +22,7 @@ args = parser.parse_args() # Handle listing record types if args.list_record_types: print("Supported DNS record types:") - for rtype in supported_types: - print(f" {rtype}") + print((", ").join(supported_types)) exit(0) # Convert record type string to dns.rdatatype constant