Show where the options need to go in the usage output
This commit is contained in:
parent
102daefac8
commit
5c2a514628
|
@ -43,7 +43,7 @@ func main() {
|
||||||
client := flag.String("client", "", "set edns client-subnet option")
|
client := flag.String("client", "", "set edns client-subnet option")
|
||||||
//serial := flag.Int("serial", 0, "perform an IXFR with this serial")
|
//serial := flag.Int("serial", 0, "perform an IXFR with this serial")
|
||||||
flag.Usage = func() {
|
flag.Usage = func() {
|
||||||
fmt.Fprintf(os.Stderr, "Usage: %s [@server] [qtype] [qclass] [name ...]\n", os.Args[0])
|
fmt.Fprintf(os.Stderr, "Usage: %s [options] [@server] [qtype] [qclass] [name ...]\n", os.Args[0])
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue