From 9c0d3ab543b149c561d4c22d0eeff47e2e2fa5bc Mon Sep 17 00:00:00 2001 From: silentcode Date: Thu, 19 May 2022 21:14:29 +0200 Subject: [PATCH 1/2] [doctor] update the help with fix capabilities --- cmd/doctor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/doctor.go b/cmd/doctor.go index 10f62f32c16b..bc15789a345b 100644 --- a/cmd/doctor.go +++ b/cmd/doctor.go @@ -24,8 +24,8 @@ import ( // CmdDoctor represents the available doctor sub-command. var CmdDoctor = cli.Command{ Name: "doctor", - Usage: "Diagnose problems", - Description: "A command to diagnose problems with the current Gitea instance according to the given configuration.", + Usage: "Diagnose and optionally fix problems", + 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 the data storage.", Action: runDoctor, Flags: []cli.Flag{ cli.BoolFlag{ From fa5fa1ea59865c96481b63532fb3230359ff9a90 Mon Sep 17 00:00:00 2001 From: silentcodeg <105681448+silentcodeg@users.noreply.github.com> Date: Thu, 19 May 2022 23:53:51 +0200 Subject: [PATCH 2/2] Update cmd/doctor.go Co-authored-by: silverwind --- cmd/doctor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/doctor.go b/cmd/doctor.go index bc15789a345b..73dfeb1dbe99 100644 --- a/cmd/doctor.go +++ b/cmd/doctor.go @@ -25,7 +25,7 @@ import ( var CmdDoctor = cli.Command{ Name: "doctor", Usage: "Diagnose and optionally fix problems", - 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 the data storage.", + 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.", Action: runDoctor, Flags: []cli.Flag{ cli.BoolFlag{