Skip to content

Commit

Permalink
Update app.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Buch <dan@meatballhat.com>
  • Loading branch information
dearchap and meatballhat committed Oct 14, 2022
1 parent 5100c9d commit 33d08c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.go
Expand Up @@ -306,7 +306,8 @@ func (a *App) RunContext(ctx context.Context, arguments []string) (err error) {
}

// This is a stub function to keep public API unchanged from old code
// No one should really use this. Always use a.Run to execute app
//
// Deprecated: use App.Run or App.RunContext
func (a *App) RunAsSubcommand(ctx *Context) (err error) {
return a.RunContext(ctx.Context, ctx.Args().Slice())
}
Expand Down

0 comments on commit 33d08c3

Please sign in to comment.