summaryrefslogtreecommitdiff
path: root/docs/installation_guide
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/installation_guide
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/installation_guide')
-rw-r--r--docs/installation_guide/binary.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/installation_guide/binary.md b/docs/installation_guide/binary.md
index 6faba1151..173237da0 100644
--- a/docs/installation_guide/binary.md
+++ b/docs/installation_guide/binary.md
@@ -77,7 +77,7 @@ You can use the GoToSocial binary to also create, confirm, and promote your user
Run the following command to create a new account:
```bash
-./gotosocial admin account create --config-path ./config.yaml --username some_username --email some_email@whatever.org --password SOME_PASSWORD
+./gotosocial --config-path ./config.yaml admin account create --username some_username --email some_email@whatever.org --password SOME_PASSWORD
```
In the above command, replace `some_username` with your desired username, `some_email@whatever.org` with the email address you want to associate with your account, and `SOME_PASSWORD` with a secure password.
@@ -85,7 +85,7 @@ In the above command, replace `some_username` with your desired username, `some_
Run the following command to confirm the account you just created:
```bash
-./gotosocial admin account confirm --config-path ./config.yaml --username some_username
+./gotosocial --config-path ./config.yaml admin account confirm --username some_username
```
Replace `some_username` with the username of the account you just created.
@@ -93,7 +93,7 @@ Replace `some_username` with the username of the account you just created.
If you want your user to have admin rights, you can promote them using a similar command:
```bash
-./gotosocial admin account promote --config-path ./config.yaml --username some_username
+./gotosocial --config-path ./config.yaml admin account promote --username some_username
```
Replace `some_username` with the username of the account you just created.