|
66 | 66 | func init() {
|
67 | 67 | flag.BoolVar(&ver, "v", false, "Print Version Number")
|
68 | 68 | 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") |
71 | 71 | flag.StringVar(&printV, "print", "A", "Print request and response")
|
72 | 72 | flag.BoolVar(&form, "form", false, "Submitting as a form")
|
73 | 73 | flag.BoolVar(&form, "f", false, "Submitting as a form")
|
@@ -359,18 +359,18 @@ flags:
|
359 | 359 | -body="" Send RAW data as body
|
360 | 360 | -f, -form=false Submitting the data as a form
|
361 | 361 | -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 |
363 | 363 | -i, -insecure=false Allow connections to SSL sites without certs
|
364 | 364 | -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 |
366 | 366 | "H" request headers
|
367 | 367 | "B" request body
|
368 | 368 | "h" response headers
|
369 | 369 | "b" response body
|
370 | 370 | -v, -version=true Show Version Number
|
371 | 371 |
|
372 | 372 | 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). |
374 | 374 |
|
375 | 375 | URL:
|
376 | 376 | The only information needed to perform a request is a URL. The default scheme is http://,
|
|
0 commit comments