refactor(cmd): rename header option to headers

headers is more relevant since it's about adding multiple headers at a time.
main
sundowndev 2021-03-17 13:54:33 +01:00
parent 601fc16a45
commit 2a3a8cd122
1 changed files with 1 additions and 1 deletions

View File

@ -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"+