From 299137a8283435c1e5b159a193f4292a106d88f2 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sat, 30 May 2020 04:29:53 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b43364e..03a71ca 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,15 @@ Run the built executable from a terminal. Default arguments are used if not spe ##### Arguments of wafredir: --action string +**-action string** default (config): action can be either 'config' or 'test'. 'config' will read the input csv file and generate FortiOS compliant configuration to create redirection policies. 'test' will read the input csv file and validate that the redirects are actually working by making requests at the source URL and validating a redirect to the destination URL actually occurs. --concurrentReq int +**-concurrentReq int** default (8): only used with the action 'test'. Determines the maximum number concurrent HTTP GET requests which can be in flight at any given time. --csvfile string +**-csvfile string** path to an input csv file. The first column of the file should be the source URL, the second column of the file should be the destination URL, and the third column should be the status code (for example 301 or 302). (default "redirects.csv")