From c867a662cd69fbbf5a31b0194dea88b69bc1d99b Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Sat, 1 Oct 2016 03:02:28 -0500 Subject: [PATCH] Add @filename info to usage (#103) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1009d1b..8728a86 100644 --- a/main.go +++ b/main.go @@ -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")