Update cmd.go

Golang does not require break
This commit is contained in:
旺汪 2022-04-02 10:54:23 +08:00 committed by GitHub
parent add66245ba
commit feeefea297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -57,19 +57,14 @@ func (cm *Cmd) parseInternalCmd() {
switch cmd {
case InternalCmdHelp:
cm.printHelpMessage()
break
case InternalCmdEnv:
fmt.Println("External plug-in path : "+cm.plugHandle.dir)
break
case InternalCmdList:
cm.plugHandle.PrintList()
break
case InternalCmdVer:
fmt.Println(cxt.Version)
break
case InternalDevice:
cm.printDevice()
break
}
os.Exit(1)
}