mirror of
https://github.com/ffuf/ffuf
synced 2024-11-10 06:04:17 +00:00
Detect -u properly after last change (#174)
This commit is contained in:
parent
1e57e6d0a9
commit
b58c30625e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -272,7 +272,7 @@ func prepareConfig(parseOpts *cliOptions, conf *ffuf.Config) error {
|
|||
|
||||
var err error
|
||||
var err2 error
|
||||
if len(conf.Url) == 0 && parseOpts.request == "" {
|
||||
if len(parseOpts.URL) == 0 && parseOpts.request == "" {
|
||||
errs.Add(fmt.Errorf("-u flag or -request flag is required"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue