diff --git a/README.md b/README.md index d20ae8ab1..fc8675846 100644 --- a/README.md +++ b/README.md @@ -186,13 +186,13 @@ and with Route 53 provider dependencies: [--auth-username AUTH_USERNAME] [--auth-token AUTH_TOKEN] {create,list,update,delete} domain - {A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC} + {A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC,CAA} positional arguments: {create,list,update,delete} specify the action to take domain specify the domain, supports subdomains as well - {A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC} + {A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC,CAA} specify the entry type optional arguments: diff --git a/lexicon.1 b/lexicon.1 index 6384ba747..fc5615fce 100644 --- a/lexicon.1 +++ b/lexicon.1 @@ -39,7 +39,7 @@ DOMAIN specify the domain to use, supports subdomains as well .TP TYPE -specify the entry type, from {A, AAAA, CNAME, MX, NS, SPF, SOA, TXT, SRV, LOC} +specify the entry type, from {A, AAAA, CNAME, MX, NS, SPF, SOA, TXT, SRV, LOC, CAA} .TP \fB\-h\fR, \fB\-\-help\fR print provider-specific help message and exit diff --git a/lexicon/parser.py b/lexicon/parser.py index 057176418..8d17f2a01 100644 --- a/lexicon/parser.py +++ b/lexicon/parser.py @@ -14,7 +14,7 @@ def generate_base_provider_parser(): parser.add_argument( 'domain', help='specify the domain, supports subdomains as well') parser.add_argument('type', help='specify the entry type', default='TXT', - choices=['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'TXT', 'SRV', 'LOC']) + choices=['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'TXT', 'SRV', 'LOC', 'CAA']) parser.add_argument('--name', help='specify the record name') parser.add_argument('--content', help='specify the record content')