From 8fe194b433fd0972e6859243ef25f726d5f7fc48 Mon Sep 17 00:00:00 2001 From: rmacd Date: Sat, 5 Nov 2022 16:28:00 +0000 Subject: [PATCH] fix admin -> Admin (#972) --- content/en/admin/setup.md | 4 ++-- content/zh-cn/admin/setup.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/admin/setup.md b/content/en/admin/setup.md index 2bd3713..9c18992 100644 --- a/content/en/admin/setup.md +++ b/content/en/admin/setup.md @@ -14,7 +14,7 @@ menu: After signing up in the browser, you will need to use the command line to give your newly created account admin privileges. Assuming your username is `alice`: ```bash -RAILS_ENV=production bin/tootctl accounts modify alice --role admin +RAILS_ENV=production bin/tootctl accounts modify alice --role Admin ``` ### From the command line {#admin-cli} @@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \ alice \ --email alice@example.com \ --confirmed \ - --role admin + --role Admin ``` A randomly generated password will be shown in the terminal. diff --git a/content/zh-cn/admin/setup.md b/content/zh-cn/admin/setup.md index ca59f5e..4ffef8c 100644 --- a/content/zh-cn/admin/setup.md +++ b/content/zh-cn/admin/setup.md @@ -14,7 +14,7 @@ menu: 在通过浏览器完成帐户注册后,你需要使用命令行给你新创建的帐户以管理员特权。假设你帐户的用户名为`alice`: ```bash -RAILS_ENV=production bin/tootctl accounts modify alice --role admin +RAILS_ENV=production bin/tootctl accounts modify alice --role Admin ``` ### 通过命令行 {#admin-cli} @@ -26,7 +26,7 @@ RAILS_ENV=production bin/tootctl accounts create \ alice \ --email alice@example.com \ --confirmed \ - --role admin + --role Admin ``` 一个随机密码将会显示在终端上。