File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,9 +357,8 @@ func (a *App) RunAndExitOnError()
357357 code in the cli.ExitCoder
358358
359359func (a *App) RunAsSubcommand(ctx *Context) (err error)
360- This is a stub function to keep public API unchanged from old code
361-
362- Deprecated: use App.Run or App.RunContext
360+ RunAsSubcommand is for legacy/compatibility purposes only. New code should
361+ only use App.RunContextMost. This function is slated to be removed in v3
363362
364363func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
365364 RunContext is like Run except it takes a Context that will be passed to
Original file line number Diff line number Diff line change @@ -357,9 +357,8 @@ func (a *App) RunAndExitOnError()
357357 code in the cli.ExitCoder
358358
359359func (a *App) RunAsSubcommand(ctx *Context) (err error)
360- This is a stub function to keep public API unchanged from old code
361-
362- Deprecated: use App.Run or App.RunContext
360+ RunAsSubcommand is for legacy/compatibility purposes only. New code should
361+ only use App.RunContextMost. This function is slated to be removed in v3
363362
364363func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
365364 RunContext is like Run except it takes a Context that will be passed to
You can’t perform that action at this time.
0 commit comments