Remove debugging
This commit is contained in:
parent
8f1fb06a58
commit
cbd95292ac
2
app.go
2
app.go
@ -196,10 +196,8 @@ func (a *App) RunAsSubcommand(ctx *Context) error {
|
|||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
if len(a.Commands) > 0 {
|
if len(a.Commands) > 0 {
|
||||||
ShowSubcommandHelp(context)
|
ShowSubcommandHelp(context)
|
||||||
fmt.Println("subcommands")
|
|
||||||
} else {
|
} else {
|
||||||
ShowCommandHelp(ctx, context.Args().First())
|
ShowCommandHelp(ctx, context.Args().First())
|
||||||
fmt.Println("commands")
|
|
||||||
}
|
}
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
return cerr
|
return cerr
|
||||||
|
Loading…
Reference in New Issue
Block a user