Merge commit '39b1245' into v3-porting

This commit is contained in:
Dan Buch 2022-11-07 08:27:34 -05:00
commit 4ac1d33060
Signed by: meatballhat
GPG Key ID: A12F782281063434

2
app.go
View File

@ -304,7 +304,7 @@ func (a *App) RunContext(ctx context.Context, arguments []string) (err error) {
} }
// This is a stub function to keep public API unchanged from old code // This is a stub function to keep public API unchanged from old code
// //
// Deprecated: use App.Run or App.RunContext // Deprecated: use App.Run or App.RunContext
func (a *App) RunAsSubcommand(ctx *Context) (err error) { func (a *App) RunAsSubcommand(ctx *Context) (err error) {
return a.RunContext(ctx.Context, ctx.Args().Slice()) return a.RunContext(ctx.Context, ctx.Args().Slice())