aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLanre Adelowo <yo@lanre.wtf>2019-06-05 17:24:09 +0100
committerzeripath <art27@cantab.net>2019-06-05 17:24:09 +0100
commita6fed1542c851e874484392a7bef14118ca19928 (patch)
tree6563ee83c1bc41c0f763dc4e8d9a4e32d9be68b5 /docs
parent3fb54e11c1bb6375b19758af89f88e330018c363 (diff)
downloadgitea-a6fed1542c851e874484392a7bef14118ca19928.tar.gz
gitea-a6fed1542c851e874484392a7bef14118ca19928.zip
add docs for #6847 (#7132)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index ab52109e93..516e46ff0b 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -62,6 +62,7 @@ Admin operations:
- `--password value`: Password. Required.
- `--email value`: Email. Required.
- `--admin`: If provided, this makes the user an admin. Optional.
+ - `--access-token`: If provided, an access token will be created for the user. Optional. (default: false).
- `--must-change-password`: If provided, the created user will be required to choose a newer password after
the initial login. Optional. (default: true).
- ``--random-password``: If provided, a randomly generated password will be used as the password of