Skip to content

Commit 4099191

Browse files
authored
Merge pull request astaxie#52 from hoop33/master
Correct help spelling and format
2 parents 3d8cd5b + f63b166 commit 4099191

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bat.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ var (
6666
func init() {
6767
flag.BoolVar(&ver, "v", false, "Print Version Number")
6868
flag.BoolVar(&ver, "version", false, "Print Version Number")
69-
flag.BoolVar(&pretty, "pretty", true, "Print Json Pretty Fomat")
70-
flag.BoolVar(&pretty, "p", true, "Print Json Pretty Fomat")
69+
flag.BoolVar(&pretty, "pretty", true, "Print Json Pretty Format")
70+
flag.BoolVar(&pretty, "p", true, "Print Json Pretty Format")
7171
flag.StringVar(&printV, "print", "A", "Print request and response")
7272
flag.BoolVar(&form, "form", false, "Submitting as a form")
7373
flag.BoolVar(&form, "f", false, "Submitting as a form")
@@ -359,18 +359,18 @@ flags:
359359
-body="" Send RAW data as body
360360
-f, -form=false Submitting the data as a form
361361
-j, -json=true Send the data in a JSON object
362-
-p, -pretty=true Print Json Pretty Fomat
362+
-p, -pretty=true Print Json Pretty Format
363363
-i, -insecure=false Allow connections to SSL sites without certs
364364
-proxy=PROXY_URL Proxy with host and port
365-
-print="A" String specifying what the output should contain, default will print all infomation
365+
-print="A" String specifying what the output should contain, default will print all information
366366
"H" request headers
367367
"B" request body
368368
"h" response headers
369369
"b" response body
370370
-v, -version=true Show Version Number
371371
372372
METHOD:
373-
bat defaults to either GET (if there is no request data) or POST (with request data).
373+
bat defaults to either GET (if there is no request data) or POST (with request data).
374374
375375
URL:
376376
The only information needed to perform a request is a URL. The default scheme is http://,

0 commit comments

Comments
 (0)