mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 10:35:04 +08:00
fix typos in docs command-line examples (#6466)
Signed-off-by: Ilya Pavlov <ilux@cpan.org>
This commit is contained in:
parent
01589b9eed
commit
8c3082bdb4
|
@ -84,13 +84,13 @@ Admin operations:
|
||||||
- Options:
|
- Options:
|
||||||
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
|
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea auth list`
|
- `gitea admin auth list`
|
||||||
- `delete`:
|
- `delete`:
|
||||||
- Options:
|
- Options:
|
||||||
- `--id`: ID of source to be deleted. Required.
|
- `--id`: ID of source to be deleted. Required.
|
||||||
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
|
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea auth delete --id 1`
|
- `gitea admin auth delete --id 1`
|
||||||
- `add-oauth`:
|
- `add-oauth`:
|
||||||
- Options:
|
- Options:
|
||||||
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
|
- `--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-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
||||||
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
||||||
- Examples:
|
- 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`:
|
- `update-oauth`:
|
||||||
- Options:
|
- Options:
|
||||||
- `--id`: ID of source to be updated. Required.
|
- `--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-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
||||||
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea auth update-oauth --id 1 --name external-github-updated`
|
- `gitea admin auth update-oauth --id 1 --name external-github-updated`
|
||||||
|
|
||||||
#### cert
|
#### cert
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user