Merge pull request #1533 from dearchap/fix_docs

Cleanup: Fix app.go formatting
This commit is contained in:
dearchap
2022-10-14 17:43:57 -04:00
committed by GitHub

2
app.go
View File

@@ -306,7 +306,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())