1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-18 02:38:26 +08:00

Add config path as an optional flag when changing pass via CLI ()

This commit is contained in:
Fluf
2018-06-09 18:35:14 -04:00
committed by techknowlogick
parent 9033eaeec1
commit f54626df0b
2 changed files with 10 additions and 0 deletions
cmd
docs/content/doc/usage

@ -62,6 +62,7 @@ Admin operations:
- Options:
- `--username value`, `-u value`: Username. Required.
- `--password value`, `-p value`: New password. Required.
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
- Examples:
- `gitea admin change-password --username myname --password asecurepassword`
- `regenerate`