File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ Usage:
124124
125125The commands are:
126126
127- addHandler to add a handler for Tigo projection
127+ addhandler to add a handler for Tigo projection
128128 create to create a Tigo projection
129129 conf to add a configuration for Tigo projection
130130 logger to add a logger for Tigo projection
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ func printCmdUsage(args []string) {
5656 case "conf" :
5757 fmt .Print (cmdConfVerbose )
5858 break
59- case "addHandler " :
59+ case "addhandler " :
6060 fmt .Print (cmdAddHandlerVerbose )
6161 break
6262 default :
@@ -75,7 +75,7 @@ func execEngine(args []string) {
7575 case "conf" :
7676 execConf (args [1 ])
7777 break
78- case "addHandler " :
78+ case "addhandler " :
7979 execAddHandler (args [1 ])
8080 break
8181 case "logger" :
@@ -336,7 +336,7 @@ func main() {
336336 // 如果创建demo,则直接把常变量`DemoCode`注入到目标文件中就行
337337 // tiger支持的命令:
338338 // - create xxx: 创建项目
339- // - addHandler xxx: 增加xxx命名的handler
339+ // - addhandler xxx: 增加xxx命名的handler
340340 // - conf xxx: 用xxx命名的配置文件替换现有配置文件,没有则新建
341341 // - mod: 进行go mod
342342 // - version: 获取当前Tigo版本号
You can’t perform that action at this time.
0 commit comments