update docs (#6032)

tokarchuk/v1.17
Lanre Adelowo 6 years ago committed by techknowlogick
parent 9d8178b3ac
commit c71c28eab8
  1. 2
      docs/content/doc/usage/command-line.md

@ -57,7 +57,7 @@ Admin operations:
- `--admin`: If provided, this makes the user an admin. Optional. - `--admin`: If provided, this makes the user an admin. Optional.
- `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini). - `--config path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
- `--must-change-password`: If provided, the created user will be required to choose a newer password after - `--must-change-password`: If provided, the created user will be required to choose a newer password after
the initial login. Optional. (default: false). the initial login. Optional. (default: true).
- ``--random-password``: If provided, a randomly generated password will be used as the password of - ``--random-password``: If provided, a randomly generated password will be used as the password of
the created user. The value of `--password` will be discarded. Optional. the created user. The value of `--password` will be discarded. Optional.
- `--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

Loading…
Cancel
Save