diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-12-15 23:49:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 15:49:01 +0000 |
commit | 047c69bd85bc5579ce6f352d7edf7fb950d84b80 (patch) | |
tree | 0ae581d24c0fcbeb97d943b98835d7b876affedc /cmd/doctor.go | |
parent | 3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b (diff) | |
download | gitea-047c69bd85bc5579ce6f352d7edf7fb950d84b80.tar.gz gitea-047c69bd85bc5579ce6f352d7edf7fb950d84b80.zip |
Improve CLI code and descriptions (#28482)
* Close #28444
* Actually, it doesn't need to use that trick because it looks like it
is not necessary, no user really needs it
* Remove the hidden (legacy) "doctor" subcommand and update documents
* Fix "actions" usage

Diffstat (limited to 'cmd/doctor.go')
-rw-r--r-- | cmd/doctor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/doctor.go b/cmd/doctor.go index 4085d37332..f891b12608 100644 --- a/cmd/doctor.go +++ b/cmd/doctor.go @@ -26,7 +26,7 @@ import ( // CmdDoctor represents the available doctor sub-command. var CmdDoctor = &cli.Command{ Name: "doctor", - Usage: "Diagnose and optionally fix problems", + Usage: "Diagnose and optionally fix problems, convert or re-create database tables", Description: "A command to diagnose problems with the current Gitea instance according to the given configuration. Some problems can optionally be fixed by modifying the database or data storage.", Subcommands: []*cli.Command{ |