From 84dc58ede3542bcc3ecd26867b46790e86b20049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fan=20Can=20Bak=C4=B1r?= Date: Thu, 25 Jul 2024 16:22:13 +0300 Subject: [PATCH] fix typo --- README.md | 2 +- v2/pkg/runner/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 314d20f68..97e0b09fa 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ FILTER: RATE-LIMIT: -rl, -rate-limit int maximum number of http requests to send per second - -rls value maximum number of http requests to send per second four providers in key=value format (-rls "hackertarget=10/s,shodan=15/s") + -rls value maximum number of http requests to send per second for providers in key=value format (-rls "hackertarget=10/s,shodan=15/s") -t int number of concurrent goroutines for resolving (-active only) (default 10) UPDATE: diff --git a/v2/pkg/runner/options.go b/v2/pkg/runner/options.go index 30f5cfc57..9d430e619 100644 --- a/v2/pkg/runner/options.go +++ b/v2/pkg/runner/options.go @@ -101,7 +101,7 @@ func ParseOptions() *Options { flagSet.CreateGroup("rate-limit", "Rate-limit", flagSet.IntVarP(&options.RateLimit, "rate-limit", "rl", 0, "maximum number of http requests to send per second (global)"), - flagSet.RateLimitMapVarP(&options.RateLimits, "rate-limits", "rls", defaultRateLimits, "maximum number of http requests to send per second four providers in key=value format (-rls hackertarget=10/m)", goflags.NormalizedStringSliceOptions), + flagSet.RateLimitMapVarP(&options.RateLimits, "rate-limits", "rls", defaultRateLimits, "maximum number of http requests to send per second for providers in key=value format (-rls hackertarget=10/m)", goflags.NormalizedStringSliceOptions), flagSet.IntVar(&options.Threads, "t", 10, "number of concurrent goroutines for resolving (-active only)"), )