Skip to content

Commit

Permalink
Add @filename info to usage (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
moorereason authored and davecheney committed Oct 1, 2016
1 parent b893d35 commit c867a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const maxRedirects = 10

func init() {
flag.StringVar(&httpMethod, "X", "GET", "HTTP method to use")
flag.StringVar(&postBody, "d", "", "the body of a POST or PUT request")
flag.StringVar(&postBody, "d", "", "the body of a POST or PUT request; from file use @filename")
flag.BoolVar(&followRedirects, "L", false, "follow 30x redirects")
flag.BoolVar(&onlyHeader, "I", false, "don't read body of request")
flag.BoolVar(&insecure, "k", false, "allow insecure SSL connections")
Expand Down

0 comments on commit c867a66

Please sign in to comment.