]> source.dussan.org Git - gitea.git/commit
fix label of --id in admin delete user (#14005)
authorzeripath <art27@cantab.net>
Thu, 17 Dec 2020 07:57:32 +0000 (07:57 +0000)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 07:57:32 +0000 (02:57 -0500)
commit5e09de174c69c77babf7366cbbb17d59cb3102f0
treeb25dd01ea6f804c6f5f6319a32ccaaa1ff2e6dc3
parentc57e1f2653904fa6eb428d87d64918453533557c
fix label of --id in admin delete user (#14005)

* fix label of --id in admin delete user

This pr fixes the label descriptor of `gitea admin delete user`
but also adds a `--username` option.

Fix #13995

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix-spacing

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add delete email support

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
cmd/admin.go
docs/content/doc/usage/command-line.en-us.md