fix help message

This commit is contained in:
zyt312074545 2020-12-29 00:04:09 +08:00
parent 734d77f60d
commit 6f2d624a32
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ func Usage() {
func Help(args []string) {
if len(args) == 0 {
Usage()
return
}
if len(args) != 1 {
utils.PrintErrorAndExit("Too many arguments", ErrorTemplate)