From 008627905d37c58ce4d593ad551c3af2c308d4b2 Mon Sep 17 00:00:00 2001 From: Shikaku <60224604+sijiaoh@users.noreply.github.com> Date: Thu, 29 Oct 2020 05:47:51 +0900 Subject: [PATCH] Fix command-line doc examples (#13337) --- docs/content/doc/usage/command-line.en-us.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 193f216658..6b78e8c025 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/doc/usage/command-line.en-us.md @@ -82,13 +82,13 @@ Admin operations: - `--random-password-length`: If provided, it will be used to configure the length of the randomly generated password. Optional. (default: 12) - 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`: - Options: - `--username value`, `-u value`: Username. Required. - `--password value`, `-p value`: New password. Required. - Examples: - - `gitea admin change-password --username myname --password asecurepassword` + - `gitea admin user change-password --username myname --password asecurepassword` - `regenerate` - Options: - `hooks`: Regenerate git-hooks for all repositories