diff options
author | Shikaku <60224604+sijiaoh@users.noreply.github.com> | 2020-10-29 05:47:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 20:47:51 +0000 |
commit | 008627905d37c58ce4d593ad551c3af2c308d4b2 (patch) | |
tree | 71bc2f3f76db3c1bffc515ba83bb5bd81948e3a4 /docs/content/doc | |
parent | 946bbbe9b55831ede80518ff4177f940b303a674 (diff) | |
download | gitea-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.md | 4 |
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 |