aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-22 15:52:23 -0600
committerGitHub <noreply@github.com>2022-11-22 15:52:23 -0600
commite6c12a2ffb9260db7236b5d79f474b1c69ef6bc9 (patch)
tree8d2653867a3617a85a56f89fce0de72fe6539625
parent8dc6e65a3d18f6a8ad4f0569694b4eef5f023afb (diff)
parenta7996a78b9f827f8c9fc54427881ea5143a8e065 (diff)
downloadslskd-e6c12a2ffb9260db7236b5d79f474b1c69ef6bc9.tar.gz
Merge pull request #779 from slskd/relay
Fix a few problems with documentation
-rw-r--r--docs/config.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/config.md b/docs/config.md
index 0523a15e..6a96588d 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -228,7 +228,7 @@ If using HTTPS; most users won't have a valid certificate (the self-signed certi
| ---------------------------------------- | -------------------------------------------- | ------------------------------------------|
| `-r\|--relay` | `SLSKD_RELAY` | Enable the Relay feature |
| `-m\|--relay-mode` | `SLSKD_RELAY_MODE` | The Relay mode (Controller, Agent, Debug) |
-| `--controller-address` | `SLSKD_CONTROLLER_ADDRESS` | Enable the Relay feature |
+| `--controller-address` | `SLSKD_CONTROLLER_ADDRESS` | The address of the controller |
| `--controller-ignore-certificate-errors` | `SLSKD_CONTROLLER_IGNORE_CERTIFICATE_ERRORS` | Ignore certificate errors |
| `--controller-api-key` | `SLSKD_CONTROLLER_API_KEY` | An API key for the controller |
| `--controller-secret` | `SLSKD_CONTROLLER_SECRET` | The shared secret for this agent |
@@ -878,10 +878,10 @@ flags:
The application can be run in "command mode", causing it to execute a command and quit immediately. Available commands are:
-| Command | Description |
-| ------------------------ | --------------------------------------------------- |
-| `-v\|--version` | Display the current application version |
-| `-h\|--help` | Display available command-line arguments |
-| `-e\|--envars` | Display available environment variables |
-| `-g\|--generate-cert` | Generate an X509 certificate and password for HTTPS |
-| `-k\|--generate-api-key` | Generate a random 32 bit API key |
+| Command | Description |
+| -------------------------------- | --------------------------------------------------- |
+| `-v\|--version` | Display the current application version |
+| `-h\|--help` | Display available command-line arguments |
+| `-e\|--envars` | Display available environment variables |
+| `-g\|--generate-cert` | Generate an X509 certificate and password for HTTPS |
+| `-k\|--generate-secret <length>` | Generate a random secret of the specified length |