Skip to content

Commit 3409971

Browse files
committed
chore: fix typo in nameserver flag
Closes #55
1 parent 9386c58 commit 3409971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/doggo/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func main() {
3636
f.StringSliceP("query", "q", []string{}, "Domain name to query")
3737
f.StringSliceP("type", "t", []string{}, "Type of DNS record to be queried (A, AAAA, MX etc)")
3838
f.StringSliceP("class", "c", []string{}, "Network class of the DNS record to be queried (IN, CH, HS etc)")
39-
f.StringSliceP("nameservers", "n", []string{}, "Address of the nameserver to send packets to")
39+
f.StringSliceP("nameserver", "n", []string{}, "Address of the nameserver to send packets to")
4040
f.BoolP("reverse", "x", false, "Performs a DNS Lookup for an IPv4 or IPv6 address. Sets the query type and class to PTR and IN respectively.")
4141

4242
// Resolver Options

0 commit comments

Comments
 (0)