summaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorIlya <iluxz@mail.ru>2019-03-29 15:16:07 +0300
committerzeripath <art27@cantab.net>2019-03-29 12:16:07 +0000
commit8c3082bdb42e518043e48658123f24277bc370db (patch)
treeb9ff710c8b3549f6bf1b4364c2a5a7060b5b188c /docs/content/doc
parent01589b9eed5031c41ebfa00228823e796c24ef2a (diff)
downloadgitea-8c3082bdb42e518043e48658123f24277bc370db.tar.gz
gitea-8c3082bdb42e518043e48658123f24277bc370db.zip
fix typos in docs command-line examples (#6466)
Signed-off-by: Ilya Pavlov <ilux@cpan.org>
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/usage/command-line.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/doc/usage/command-line.md b/docs/content/doc/usage/command-line.md
index d54c274d71..2e47b752ef 100644
--- a/docs/content/doc/usage/command-line.md
+++ b/docs/content/doc/usage/command-line.md
@@ -84,13 +84,13 @@ Admin operations:
- Options:
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
- Examples:
- - `gitea auth list`
+ - `gitea admin auth list`
- `delete`:
- Options:
- `--id`: ID of source to be deleted. Required.
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
- Examples:
- - `gitea auth delete --id 1`
+ - `gitea admin auth delete --id 1`
- `add-oauth`:
- Options:
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
@@ -105,7 +105,7 @@ Admin operations:
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
- Examples:
- - `gitea auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
+ - `gitea admin auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
- `update-oauth`:
- Options:
- `--id`: ID of source to be updated. Required.
@@ -121,7 +121,7 @@ Admin operations:
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
- Examples:
- - `gitea auth update-oauth --id 1 --name external-github-updated`
+ - `gitea admin auth update-oauth --id 1 --name external-github-updated`
#### cert