refactor(cmd): rename header option to headers
headers is more relevant since it's about adding multiple headers at a time.main
parent
601fc16a45
commit
2a3a8cd122
|
@ -131,7 +131,7 @@ func NewScanCmd() *cobra.Command {
|
|||
"Accepted values are: "+strings.Join(supportedRemotes, ",")+"\n",
|
||||
)
|
||||
fl.StringToStringVarP(&opts.BackendOptions.Headers,
|
||||
"header",
|
||||
"headers",
|
||||
"H",
|
||||
map[string]string{},
|
||||
"Use those HTTP headers to query the provided URL.\n"+
|
||||
|
|
Loading…
Reference in New Issue