mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	[doctor] update the help with fix capabilities (#19762)
* [doctor] update the help with fix capabilities
This commit is contained in:
		@@ -24,8 +24,8 @@ import (
 | 
				
			|||||||
// CmdDoctor represents the available doctor sub-command.
 | 
					// CmdDoctor represents the available doctor sub-command.
 | 
				
			||||||
var CmdDoctor = cli.Command{
 | 
					var CmdDoctor = cli.Command{
 | 
				
			||||||
	Name:        "doctor",
 | 
						Name:        "doctor",
 | 
				
			||||||
	Usage:       "Diagnose problems",
 | 
						Usage:       "Diagnose and optionally fix problems",
 | 
				
			||||||
	Description: "A command to diagnose problems with the current Gitea instance according to the given configuration.",
 | 
						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,
 | 
						Action:      runDoctor,
 | 
				
			||||||
	Flags: []cli.Flag{
 | 
						Flags: []cli.Flag{
 | 
				
			||||||
		cli.BoolFlag{
 | 
							cli.BoolFlag{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user