Skip to content

Commit 7b982e9

Browse files
committed
Revert "docs: Update man page and help text for ANY query type"
This reverts commit 47173a4.
1 parent 47173a4 commit 7b982e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

man/dog.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ QUERY OPTIONS
4646
: Host name or domain name to query.
4747

4848
`-t`, `--type=TYPE`
49-
: Type of the DNS record being queried (`A`, `MX`, `NS`, `ANY`...)
49+
: Type of the DNS record being queried (`A`, `MX`, `NS`...)
5050

5151
`-n`, `--nameserver=ADDR`
5252
: Address of the nameserver to send packets to.
@@ -196,7 +196,7 @@ When a response DNS packet contains a record of one of these known types, dog wi
196196

197197
Records with a type number that does not map to any known record type will still be displayed. As they cannot be interpreted, their contents will be displayed as a series of numbers instead.
198198

199-
dog also contains a list of record type names that it knows the type number of, but is not able to interpret, such as `IXFR` or `AFSDB`. These are acceptable as command-line arguments, meaning you can send an AFSDB request with ‘`dog AFSDB`’. However, their response contents will still be displayed as numbers. They may be supported in future versions of dog.
199+
dog also contains a list of record type names that it knows the type number of, but is not able to interpret, such as `IXFR` or `ANY` or `AFSDB`. These are acceptable as command-line arguments, meaning you can send an AFSDB request with ‘`dog AFSDB`’. However, their response contents will still be displayed as numbers. They may be supported in future versions of dog.
200200

201201

202202
PROTOCOL TWEAKS

src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Options {
4848

4949
// Query options
5050
opts.optmulti("q", "query", "Host name or domain name to query", "HOST");
51-
opts.optmulti("t", "type", "Type of the DNS record being queried (A, MX, NS, ANY...)", "TYPE");
51+
opts.optmulti("t", "type", "Type of the DNS record being queried (A, MX, NS...)", "TYPE");
5252
opts.optmulti("n", "nameserver", "Address of the nameserver to send packets to", "ADDR");
5353
opts.optmulti("", "class", "Network class of the DNS record being queried (IN, CH, HS)", "CLASS");
5454

src/usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
\4mQuery options:\0m
1212
\32m<arguments>\0m Human-readable host names, nameservers, types, or classes
1313
\1;33m-q\0m, \1;33m--query\0m=\33mHOST\0m Host name or domain name to query
14-
\1;33m-t\0m, \1;33m--type\0m=\33mTYPE\0m Type of the DNS record being queried (A, MX, NS, ANY...)
14+
\1;33m-t\0m, \1;33m--type\0m=\33mTYPE\0m Type of the DNS record being queried (A, MX, NS...)
1515
\1;33m-n\0m, \1;33m--nameserver\0m=\33mADDR\0m Address of the nameserver to send packets to
1616
\1;33m--class\0m=\33mCLASS\0m Network class of the DNS record being queried (IN, CH, HS)
1717

0 commit comments

Comments
 (0)