Skip to content

Commit

Permalink
better usage message
Browse files Browse the repository at this point in the history
  • Loading branch information
5amu committed Jul 9, 2022
1 parent 50ef5bb commit c1a937f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/runner/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ type Args struct {
}

func usage() {
fmt.Println("Usage: dnshunter -h|-v [-o <outfile>] [-n <ns-file>] <domain>")
fmt.Println("Usage: dnshunter -h|-v [-o|-n|-c <ARG>] <domain>")
fmt.Println("")
fmt.Println("OPTIONS:")
fmt.Println(" -h|-help show the program usage and exit")
fmt.Println(" -v|-version show the program version and exit")
fmt.Println(" -o|--outfile save output in JSON format")
fmt.Println(" -n|--nsfile file with nameservers (line separated)")
fmt.Println(" -c|--checklist comma separated list of checks to perform (default:all)")
fmt.Println(" -c|--checklist specify a single check (flag can be repeated)")
fmt.Println("")
fmt.Println("POSITIONAL:")
fmt.Println("")
Expand Down

0 comments on commit c1a937f

Please sign in to comment.