Merge commit 'adcd0c9' into v3-porting
This commit is contained in:
commit
8530ea22c2
@ -346,8 +346,9 @@ func (a *App) RunAndExitOnError()
|
|||||||
code in the cli.ExitCoder
|
code in the cli.ExitCoder
|
||||||
|
|
||||||
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
||||||
This is a stub function to keep public API unchanged from old code No one
|
This is a stub function to keep public API unchanged from old code
|
||||||
should really use this. Always use a.Run to execute app
|
|
||||||
|
Deprecated: use App.Run or App.RunContext
|
||||||
|
|
||||||
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
||||||
RunContext is like Run except it takes a Context that will be passed to
|
RunContext is like Run except it takes a Context that will be passed to
|
||||||
|
5
testdata/godoc-v2.x.txt
vendored
5
testdata/godoc-v2.x.txt
vendored
@ -346,8 +346,9 @@ func (a *App) RunAndExitOnError()
|
|||||||
code in the cli.ExitCoder
|
code in the cli.ExitCoder
|
||||||
|
|
||||||
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
||||||
This is a stub function to keep public API unchanged from old code No one
|
This is a stub function to keep public API unchanged from old code
|
||||||
should really use this. Always use a.Run to execute app
|
|
||||||
|
Deprecated: use App.Run or App.RunContext
|
||||||
|
|
||||||
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
||||||
RunContext is like Run except it takes a Context that will be passed to
|
RunContext is like Run except it takes a Context that will be passed to
|
||||||
|
Loading…
Reference in New Issue
Block a user