summaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorShikaku <60224604+sijiaoh@users.noreply.github.com>2020-10-29 05:47:51 +0900
committerGitHub <noreply@github.com>2020-10-28 20:47:51 +0000
commit008627905d37c58ce4d593ad551c3af2c308d4b2 (patch)
tree71bc2f3f76db3c1bffc515ba83bb5bd81948e3a4 /docs/content/doc
parent946bbbe9b55831ede80518ff4177f940b303a674 (diff)
downloadgitea-008627905d37c58ce4d593ad551c3af2c308d4b2.tar.gz
gitea-008627905d37c58ce4d593ad551c3af2c308d4b2.zip
Fix command-line doc examples (#13337)
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 193f216658..6b78e8c025 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -82,13 +82,13 @@ Admin operations:
- `--random-password-length`: If provided, it will be used to configure the length of the randomly
generated password. Optional. (default: 12)
- Examples:
- - `gitea admin create-user --username myname --password asecurepassword --email me@example.com`
+ - `gitea admin user create --username myname --password asecurepassword --email me@example.com`
- `change-password`:
- Options:
- `--username value`, `-u value`: Username. Required.
- `--password value`, `-p value`: New password. Required.
- Examples:
- - `gitea admin change-password --username myname --password asecurepassword`
+ - `gitea admin user change-password --username myname --password asecurepassword`
- `regenerate`
- Options:
- `hooks`: Regenerate git-hooks for all repositories