summaryrefslogtreecommitdiffstats
path: root/cmd/doctor.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-12-15 23:49:01 +0800
committerGitHub <noreply@github.com>2023-12-15 15:49:01 +0000
commit047c69bd85bc5579ce6f352d7edf7fb950d84b80 (patch)
tree0ae581d24c0fcbeb97d943b98835d7b876affedc /cmd/doctor.go
parent3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b (diff)
downloadgitea-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 ![image](https://github.com/go-gitea/gitea/assets/2114189/3c2b34a7-4f92-4a6c-96fd-9505e413d4ec)
Diffstat (limited to 'cmd/doctor.go')
-rw-r--r--cmd/doctor.go2
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{