From 3409971103629472fd350515e90cc0aa365bda91 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Mon, 24 Oct 2022 11:13:22 +0530 Subject: [PATCH] chore: fix typo in nameserver flag Closes https://github.com/mr-karan/doggo/issues/55 --- cmd/doggo/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/doggo/cli.go b/cmd/doggo/cli.go index 5e7e9ed..9ff471e 100644 --- a/cmd/doggo/cli.go +++ b/cmd/doggo/cli.go @@ -36,7 +36,7 @@ func main() { f.StringSliceP("query", "q", []string{}, "Domain name to query") f.StringSliceP("type", "t", []string{}, "Type of DNS record to be queried (A, AAAA, MX etc)") f.StringSliceP("class", "c", []string{}, "Network class of the DNS record to be queried (IN, CH, HS etc)") - f.StringSliceP("nameservers", "n", []string{}, "Address of the nameserver to send packets to") + f.StringSliceP("nameserver", "n", []string{}, "Address of the nameserver to send packets to") 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.") // Resolver Options