@@ -47,24 +47,28 @@ func main() {
47
47
on the configuration cheat sheet.`
48
48
app .Flags = []cli.Flag {
49
49
& cli.StringFlag {
50
- Name : "custom-path, C" ,
51
- Value : setting .CustomPath ,
52
- Usage : "Custom path file path" ,
50
+ Name : "custom-path" ,
51
+ Aliases : []string {"C" },
52
+ Value : setting .CustomPath ,
53
+ Usage : "Custom path file path" ,
53
54
},
54
55
& cli.StringFlag {
55
- Name : "config, c" ,
56
- Value : setting .CustomConf ,
57
- Usage : "Custom configuration file path" ,
56
+ Name : "config" ,
57
+ Aliases : []string {"c" },
58
+ Value : setting .CustomConf ,
59
+ Usage : "Custom configuration file path" ,
58
60
},
59
61
& cli.StringFlag {
60
- Name : "work-path, w" ,
61
- Value : setting .AppWorkPath ,
62
- Usage : "Set the gitea working path" ,
62
+ Name : "work-path" ,
63
+ Aliases : []string {"w" },
64
+ Value : setting .AppWorkPath ,
65
+ Usage : "Set the gitea working path" ,
63
66
},
64
67
& cli.StringFlag {
65
- Name : "out, o" ,
66
- Value : "" ,
67
- Usage : "Destination file to write to" ,
68
+ Name : "out" ,
69
+ Aliases : []string {"o" },
70
+ Value : "" ,
71
+ Usage : "Destination file to write to" ,
68
72
},
69
73
}
70
74
app .Action = runEnvironmentToIni
0 commit comments