Skip to content

Commit

Permalink
add error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Dec 29, 2021
1 parent 27d2dfd commit 68f32cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func ListParams(args string) {
}
matchResult := reg.FindAllStringSubmatch(args, -1)
if len(matchResult) != 1 {
fmt.Println("Wrong local command format", matchResult)
return
}
res := matchResult[0]
Expand Down

0 comments on commit 68f32cb

Please sign in to comment.