From 83d2bf0faf80c28d7e38d7d6f563dfba721440db Mon Sep 17 00:00:00 2001 From: devploit Date: Tue, 19 Mar 2024 15:47:46 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- cmd/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e110a3..550630a 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ Flags: -l, --rate-limit Halt requests upon encountering a 429 (rate limit) HTTP status code. -r, --redirect Automatically follow redirects in responses. --request-file string Load request configuration and flags from a specified file. - --timeout int Specify a max timeout time (default: 6000ms). (default 6000) + --timeout int Specify a max timeout time in ms (default 6000) -u, --uri string Specify the target URL for the request. -a, --user-agent string pecify a custom User-Agent string for requests (default: 'nomore403'). -v, --verbose Enable verbose output for detailed request/response logging. diff --git a/cmd/root.go b/cmd/root.go index 153f69b..2658658 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -95,7 +95,7 @@ func init() { rootCmd.PersistentFlags().BoolVarP(&rateLimit, "rate-limit", "l", false, "Halt requests upon encountering a 429 (rate limit) HTTP status code.") rootCmd.PersistentFlags().BoolVarP(&redirect, "redirect", "r", false, "Automatically follow redirects in responses.") rootCmd.PersistentFlags().StringVarP(&requestFile, "request-file", "", "", "Load request configuration and flags from a specified file.") - rootCmd.PersistentFlags().IntVarP(&timeout, "timeout", "", 6000, "Specify a max timeout time (default: 6000ms).") + rootCmd.PersistentFlags().IntVarP(&timeout, "timeout", "", 6000, "Specify a max timeout time in ms.") rootCmd.PersistentFlags().StringVarP(&uri, "uri", "u", "", "Specify the target URL for the request.") rootCmd.PersistentFlags().StringVarP(&userAgent, "user-agent", "a", "", "pecify a custom User-Agent string for requests (default: 'nomore403').") rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Enable verbose output for detailed request/response logging.")