docs: use --max-redirs instead of --max-redir

For consistency.

Closes #7130
This commit is contained in:
Viktor Szakats 2021-05-26 02:55:18 +00:00 committed by Daniel Stenberg
parent 6043edf3dc
commit 3976dd67a2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View file

@ -27,10 +27,10 @@ This server reply is for testing a simple Location: following
http
</server>
<name>
'redirect_url' with --location and --max-redir
'redirect_url' with --location and --max-redirs
</name>
<command>
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redir 0
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redirs 0
</command>
</client>