Commit 3bd49b7e authored by w8385's avatar w8385 Committed by 박근형
Browse files

Update docs/cli.md to reflect added --max-redirection option

parent ed5d24f0
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -1183,6 +1183,22 @@ fedify webfinger --allow-private-address @username@localhost

Mostly useful for testing purposes.  *Do not use this in production.*

### `--max-redirection`: Maximum number of redirections

The `--max-redirection` option is used to control the maximum number of redirections allowed during WebFinger lookups.
By default, it is set to `5`.
If you want to set a custom limit, run the below command:

~~~~ sh
# Use default redirection limit (5)
fedify webfinger @user@example.com

# Set custom redirection limit
fedify webfinger @user@example.com --max-redirection 3

# Disable redirections entirely
fedify webfinger @user@example.com --max-redirection 0
~~~~

Shell completions
-----------------