@@ -218,7 +218,7 @@ type Options struct {
218218 ResponseHeadersInStdout bool
219219 ResponseInStdout bool
220220 Base64ResponseInStdout bool
221- chainInStdout bool
221+ ChainInStdout bool
222222 FollowHostRedirects bool
223223 MaxRedirects int
224224 OutputMethod bool
@@ -445,7 +445,7 @@ func ParseOptions() *Options {
445445 flagSet .BoolVarP (& options .ResponseHeadersInStdout , "include-response-header" , "irh" , false , "include http response (headers) in JSON output (-json only)" ),
446446 flagSet .BoolVarP (& options .ResponseInStdout , "include-response" , "irr" , false , "include http request/response (headers + body) in JSON output (-json only)" ),
447447 flagSet .BoolVarP (& options .Base64ResponseInStdout , "include-response-base64" , "irrb" , false , "include base64 encoded http request/response in JSON output (-json only)" ),
448- flagSet .BoolVar (& options .chainInStdout , "include-chain" , false , "include redirect http chain in JSON output (-json only)" ),
448+ flagSet .BoolVar (& options .ChainInStdout , "include-chain" , false , "include redirect http chain in JSON output (-json only)" ),
449449 flagSet .BoolVar (& options .StoreChain , "store-chain" , false , "include http redirect chain in responses (-sr only)" ),
450450 flagSet .BoolVarP (& options .StoreVisionReconClusters , "store-vision-recon-cluster" , "svrc" , false , "include visual recon clusters (-ss and -sr only)" ),
451451 flagSet .StringVarP (& options .Protocol , "protocol" , "pr" , "" , "protocol to use (unknown, http11)" ),
0 commit comments