summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorDaniil Pankratov <mobigod0@gmail.com>2020-12-28 11:39:12 +0300
committerGitHub <noreply@github.com>2020-12-28 09:39:12 +0100
commit3175d08626232e85df64bec95fa62aac227e252a (patch)
tree8f2c2e3e7abc122c450b5add750dc4a07596c2d3 /docs/content
parentd75f011345efe6625cd39467899e3f0639581499 (diff)
downloadgitea-3175d08626232e85df64bec95fa62aac227e252a.tar.gz
gitea-3175d08626232e85df64bec95fa62aac227e252a.zip
CLI support for OAuth sources custom icons (#14166)
Co-authored-by: Daniil Pankratov <daniil.pankratov@t-systems.com>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 98d047fb48..192eaa2c5a 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -114,6 +114,7 @@ Admin operations:
- `--custom-token-url`: Use a custom Token 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).
+ - `--icon-url`: Custom icon URL for OAuth2 login source.
- Examples:
- `gitea admin auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
- `update-oauth`:
@@ -129,6 +130,7 @@ Admin operations:
- `--custom-token-url`: Use a custom Token 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).
+ - `--icon-url`: Custom icon URL for OAuth2 login source.
- Examples:
- `gitea admin auth update-oauth --id 1 --name external-github-updated`
- `add-ldap`: Add new LDAP (via Bind DN) authentication source
@@ -465,4 +467,4 @@ Restore-repo restore repository data from disk dir:
- `--repo_dir dir`, `-r dir`: Repository dir path to restore from
- `--owner_name lunny`: Restore destination owner name
- `--repo_name tango`: Restore destination repository name
- - `--units <units>`: Which items will be restored, one or more units should be separated as comma. wiki, issues, labels, releases, release_assets, milestones, pull_requests, comments are allowed. Empty means all units. \ No newline at end of file
+ - `--units <units>`: Which items will be restored, one or more units should be separated as comma. wiki, issues, labels, releases, release_assets, milestones, pull_requests, comments are allowed. Empty means all units.