diff --git a/command.go b/command.go index b040395..5f2b47c 100644 --- a/command.go +++ b/command.go @@ -166,5 +166,8 @@ func (c Command) startApp(ctx *Context) error { app.Action = helpSubcommand.Action } + // set the writer to the original App's writer + app.Writer = ctx.App.Writer + return app.RunAsSubcommand(ctx) }