Show where the options need to go in the usage output

This commit is contained in:
Ask Bjørn Hansen 2012-12-27 13:51:17 +01:00
parent 102daefac8
commit 5c2a514628
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func main() {
client := flag.String("client", "", "set edns client-subnet option")
//serial := flag.Int("serial", 0, "perform an IXFR with this serial")
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()
}