Skip to content
Snippets Groups Projects
Commit 2d800010 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

kdig: update help

parent 90438607
No related branches found
No related tags found
No related merge requests found
......@@ -36,12 +36,6 @@ Use IPv4 protocol only.
.BI -6
Use IPv6 protocol only.
.TP
.BI -d
Enable debug messages if any.
.TP
.BI -h
Print short help.
.TP
.BI -b \ address
Set the source IP address of the query to \fIaddress\fR. The address
can be specified using [address]:port notation.
......@@ -51,6 +45,12 @@ Set query class (e.g. \fICH\fR, \fICLASS4\fR).
An explicit variant of \fIclass\fR specification.
The default class is \fIIN\fR.
.TP
.BI -d
Enable debug messages if any.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print short help.
.TP
.BI -k \ keyfile
Use TSIG or SIG\-0 key stored in a file \fIkeyfile\fR to authenticate the request.
Supported file format is the same as generated by ISC \fBdnssec\-keygen\fR.
......@@ -69,6 +69,9 @@ Set query name. An explicit variant of \fIname\fR specification.
Set query type (e.g. \fINS\fR, \fIIXFR=12345\fR, \fITYPE65535\fR).
An explicit variant of \fItype\fR specification. The default type is \fIA\fR.
.TP
\fB\-v\fR, \fB\-\-version\fR
Print program version.
.TP
.BI -x \ address
Send \fIPTR\fR query for IPv4 or IPv6 \fIaddress\fR.
.TP
......@@ -166,12 +169,6 @@ Don't use TCP automatically if truncated reply is received.
.TP
\fB+\fR[\fBno\fR]\fBnsid\fR
Request nameserver identifier (NSID).
.TP
\fB\-\-help\fR
Print help.
.TP
\fB\-\-version\fR
Print program version.
.SH NOTE
Options \fB-k\fR and \fB-y\fR cannot be used mutually.
.SH EXAMPLES
......
......@@ -520,7 +520,7 @@ static void dig_help(void)
" +[no]nsid Request NSID.\n"
"\n"
" -h, --help Print help.\n"
" -V, --version Print program version.\n");
" -v, --version Print program version.\n");
}
static int parse_opt1(const char *opt, const char *value, dig_params_t *params,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment