mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-05 23:34:19 -04:00
Fix command-line doc examples (#13337)
This commit is contained in:
parent
946bbbe9b5
commit
008627905d
@ -82,13 +82,13 @@ Admin operations:
|
|||||||
- `--random-password-length`: If provided, it will be used to configure the length of the randomly
|
- `--random-password-length`: If provided, it will be used to configure the length of the randomly
|
||||||
generated password. Optional. (default: 12)
|
generated password. Optional. (default: 12)
|
||||||
- Examples:
|
- 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`:
|
- `change-password`:
|
||||||
- Options:
|
- Options:
|
||||||
- `--username value`, `-u value`: Username. Required.
|
- `--username value`, `-u value`: Username. Required.
|
||||||
- `--password value`, `-p value`: New password. Required.
|
- `--password value`, `-p value`: New password. Required.
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea admin change-password --username myname --password asecurepassword`
|
- `gitea admin user change-password --username myname --password asecurepassword`
|
||||||
- `regenerate`
|
- `regenerate`
|
||||||
- Options:
|
- Options:
|
||||||
- `hooks`: Regenerate git-hooks for all repositories
|
- `hooks`: Regenerate git-hooks for all repositories
|
||||||
|
Loading…
Reference in New Issue
Block a user