Skip to content

Commit 0086279

Browse files
authored
Fix command-line doc examples (#13337)
1 parent 946bbbe commit 0086279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/doc/usage/command-line.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ Admin operations:
8282
- `--random-password-length`: If provided, it will be used to configure the length of the randomly
8383
generated password. Optional. (default: 12)
8484
- Examples:
85-
- `gitea admin create-user --username myname --password asecurepassword --email [email protected]`
85+
- `gitea admin user create --username myname --password asecurepassword --email [email protected]`
8686
- `change-password`:
8787
- Options:
8888
- `--username value`, `-u value`: Username. Required.
8989
- `--password value`, `-p value`: New password. Required.
9090
- Examples:
91-
- `gitea admin change-password --username myname --password asecurepassword`
91+
- `gitea admin user change-password --username myname --password asecurepassword`
9292
- `regenerate`
9393
- Options:
9494
- `hooks`: Regenerate git-hooks for all repositories

0 commit comments

Comments
 (0)