Skip to content

Commit a545c67

Browse files
Fix missing property in CLI --json output
1 parent 648fb89 commit a545c67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/cli_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def test_cli_json_output(
8484
"is_private": False,
8585
"registered_domain": "bbc.co.uk",
8686
"registry_suffix": "co.uk",
87+
"reverse_domain_name": "co.uk.bbc.www",
8788
"subdomain": "www",
8889
"suffix": "co.uk",
8990
"top_domain_under_public_suffix": "bbc.co.uk",

tldextract/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def main() -> None:
103103
"ipv4",
104104
"ipv6",
105105
"registered_domain",
106+
"reverse_domain_name",
106107
"top_domain_under_public_suffix",
107108
"top_domain_under_registry_suffix",
108109
)

0 commit comments

Comments
 (0)