summaryrefslogtreecommitdiff
path: root/docs/admin/cli.md
diff options
context:
space:
mode:
authorLibravatar Phil Hagelberg <technomancy@gmail.com>2022-02-03 03:30:06 -0800
committerLibravatar GitHub <noreply@github.com>2022-02-03 12:30:06 +0100
commit98341a1d4d18b27445f21c5c7aa51f26ac55b653 (patch)
tree42f54bd90cd63420c20e16a867ce4aaf615fd6a4 /docs/admin/cli.md
parentFix start command invocation (#372) (diff)
downloadgotosocial-98341a1d4d18b27445f21c5c7aa51f26ac55b653.tar.xz
[docs] Fix documentation to show --config-path in the right position. (#375)
The current position gets rejected as an unknown argument.
Diffstat (limited to 'docs/admin/cli.md')
-rw-r--r--docs/admin/cli.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/admin/cli.md b/docs/admin/cli.md
index a65282ceb..7a71f2fcd 100644
--- a/docs/admin/cli.md
+++ b/docs/admin/cli.md
@@ -31,7 +31,7 @@ Under `Available Commands`, you can see the standard `server` command. But there
**Please note -- for all of these commands, you will still need to set the global options correctly so that the CLI tool knows how eg., how to connect to your database, which database to use, which host and account domain to use etc.**
-You can set these options using environment variables, passing them as CLI flags (eg., `gotosocial [commands] --host example.org`), or by just pointing the CLI tool towards your config file (eg., `gotosocial [commands] --config-path ./config.yaml`).
+You can set these options using environment variables, passing them as CLI flags (eg., `gotosocial [commands] --host example.org`), or by just pointing the CLI tool towards your config file (eg., `gotosocial --config-path ./config.yaml [commands]`).
## gotosocial admin