mirror of
https://github.com/beego/bee.git
synced 2024-11-22 05:00:54 +00:00
Merge pull request #759 from zyt312074545/fix/help_info
fix help message
This commit is contained in:
commit
88101ce7a5
@ -90,6 +90,7 @@ func Usage() {
|
|||||||
func Help(args []string) {
|
func Help(args []string) {
|
||||||
if len(args) == 0 {
|
if len(args) == 0 {
|
||||||
Usage()
|
Usage()
|
||||||
|
return
|
||||||
}
|
}
|
||||||
if len(args) != 1 {
|
if len(args) != 1 {
|
||||||
utils.PrintErrorAndExit("Too many arguments", ErrorTemplate)
|
utils.PrintErrorAndExit("Too many arguments", ErrorTemplate)
|
||||||
|
Loading…
Reference in New Issue
Block a user