summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2013-12-23 14:32:37 +0100
committerWillem Toorop <willem@nlnetlabs.nl>2013-12-23 14:32:37 +0100
commitc955095a2040edb7b14c61dc0a379ee490f9e26a (patch)
tree36b311b72e6495709ad80c34eac50181d4dc80b4 /examples
parent02b40dc36ffa22589066736820df8a6ad8d33eed (diff)
downloadldns-c955095a2040edb7b14c61dc0a379ee490f9e26a.tar.gz
New command line options in manpages too
Diffstat (limited to 'examples')
-rw-r--r--examples/ldns-dane.1.in3
-rw-r--r--examples/ldns-dane.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/ldns-dane.1.in b/examples/ldns-dane.1.in
index 8f05d7f6..b65e64f0 100644
--- a/examples/ldns-dane.1.in
+++ b/examples/ldns-dane.1.in
@@ -151,6 +151,9 @@ Read TLSA record(s) from \fItlsafile\fR. When \fIname\fR and \fIport\fR
are also given, only TLSA records that match the \fIname\fR, \fIport\fR and
\fItransport\fR are used. Otherwise the owner name of the TLSA record(s)
will be used to determine \fIname\fR, \fIport\fR and \fItransport\fR.
+.IP -T
+Return exit status 2 for PKIX validated connections without (secure)
+TLSA records(s)
.IP -u
Use UDP transport instead of TCP.
.IP -v
diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c
index 2ade5c02..93c18e54 100644
--- a/examples/ldns-dane.c
+++ b/examples/ldns-dane.c
@@ -125,7 +125,7 @@ print_usage(const char* progname)
printf("\t-t <tlsafile>\tdo not use DNS, "
"but read TLSA record(s) from <tlsafile>\n"
);
- printf("\t-T\t\tReturns exit status 2 for PKIX validated connections\n"
+ printf("\t-T\t\tReturn exit status 2 for PKIX validated connections\n"
"\t\t\twithout (secure) TLSA records(s)\n");
printf("\t-u\t\tuse UDP transport instead of TCP\n");
printf("\t-v\t\tshow version and exit\n");