From 8c3082bdb42e518043e48658123f24277bc370db Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 29 Mar 2019 15:16:07 +0300 Subject: [PATCH] fix typos in docs command-line examples (#6466) Signed-off-by: Ilya Pavlov --- docs/content/doc/usage/command-line.md | 8 ++++---- 1 file 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