File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ func NewMainApp(appVer AppVersion) *cli.Command {
8686 app .EnableShellCompletion = true
8787 app .Flags = []cli.Flag {
8888 & cli.StringFlag {
89- Name : "custom -path" ,
90- Aliases : []string {"C " },
89+ Name : "work -path" ,
90+ Aliases : []string {"w " },
9191 TakesFile : true ,
92- Usage : "Set custom path (defaults to '{WorkPath}/custom' )" ,
92+ Usage : "Set Gitea's working path (defaults to the Gitea's binary directory )" ,
9393 },
9494 & cli.StringFlag {
9595 Name : "config" ,
@@ -99,10 +99,10 @@ func NewMainApp(appVer AppVersion) *cli.Command {
9999 Usage : "Set custom config file (defaults to '{WorkPath}/custom/conf/app.ini')" ,
100100 },
101101 & cli.StringFlag {
102- Name : "work -path" ,
103- Aliases : []string {"w " },
102+ Name : "custom -path" ,
103+ Aliases : []string {"C " },
104104 TakesFile : true ,
105- Usage : "Set Gitea's working path (defaults to the Gitea's binary directory )" ,
105+ Usage : "Set custom path (defaults to '{WorkPath}/custom' )" ,
106106 },
107107 }
108108 // these sub-commands need to use config file
You can’t perform that action at this time.
0 commit comments